Module Values.ToolSource

Information about a tool that you can use with the Converse API. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

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

    The specfication for the tool.

    *)
  2. systemTool : SystemTool.t option;
    (*

    Specifies the system-defined tool that you want use.

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

    CachePoint to include in the tool configuration.

    *)
}
Sourceval make : ?toolSpec:??? -> ?systemTool:??? -> ?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