Values.ToolResultBlockSourceA tool result block that contains the results for a tool request that the model previously made. 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 of the tool request that this is the result for.
*)content : ToolResultContentBlocks.t;The content for tool result content block.
*)status : ToolResultStatus.t option;The status for the tool result content block. This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.
*)type_ : String_.t option;The type for the tool result content block.
*)}val make :
?status:??? ->
?type_:??? ->
toolUseId:ToolUseId.t ->
content:ToolResultContentBlocks.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `String of String_.t ]) list ]
list
| `String of DocumentBlockNameString.t
| `Structure of
(string
* [> `Blob of ImageSourceBytesBlob.t
| `Boolean of Boolean.t
| `List of
[> `Structure of
(string * [> `String of String_.t ]) list ]
list
| `String of String_.t
| `Structure of
(string * [> `String of S3Uri.t ]) list ])
list ])
list ])
list ]
list
| `String of ToolUseId.t ])
list ]