Module Values.ToolSource

Contains configurations for a tool that a model can use when generating a response. For more information, see Use a tool to complete an Amazon Bedrock model response.

Sourcetype nonrec t = {
  1. toolSpec : ToolSpecification.t option;
    (*

    The specification for the tool.

    *)
  2. cachePoint : CachePointBlock.t option;
    (*

    Creates a cache checkpoint within a tool designation

    *)
}
Sourceval make : ?toolSpec:??? -> ?cachePoint:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ToolName.t | `Structure of (string * [> `Structure of 'a list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t