Module Values.ToolUseBlockStartSource

The start of a tool use block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Sourcetype nonrec t = {
  1. toolUseId : ToolUseId.t option;
    (*

    The ID for the tool request.

    *)
  2. name : ToolName.t option;
    (*

    The name of the tool that the model is requesting to use.

    *)
  3. type_ : ToolUseType.t option;
    (*

    The type for the tool request.

    *)
}
Sourceval make : ?toolUseId:??? -> ?name:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ToolUseId.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