Module Values.SpecificToolChoiceSource

The model must request a specific tool. For example, {"tool" : {"name" : "Your tool name"}}. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide This field is only supported by Anthropic Claude 3 models.

Sourcetype nonrec t = {
  1. name : ToolName.t;
    (*

    The name of the tool that the model must request.

    *)
}
Sourceval context_ : string
Sourceval make : name:ToolName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ToolName.t ]) 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