Values.ToolUseBlockSourceA tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
type nonrec t = {toolUseId : ToolUseId.t;The ID for the tool request.
*)name : ToolName.t;The name of the tool that the model wants to use.
*)input : Document.t;The input to pass to the tool.
*)type_ : ToolUseType.t option;The type for the tool request.
*)}val make :
?type_:??? ->
toolUseId:ToolUseId.t ->
name:ToolName.t ->
input:Document.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string | `String of ToolUseId.t | `Structure of 'a list ])
list ]