Module Values.SpecificToolChoiceSource

Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. For more information, see Use a tool to complete an Amazon Bedrock model response.

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

    The name of the tool.

    *)
}
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