Values.ToolResultContentBlockSourceThe tool result content block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
type nonrec t = {json : Document.t option;A tool result that is JSON format data.
*)text : String_.t option;A tool result that is text.
*)image : ImageBlock.t option;A tool result that is an image. This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.
*)document : DocumentBlock.t option;A tool result that is a document.
*)video : VideoBlock.t option;A tool result that is video.
*)searchResult : SearchResultBlock.t option;A tool result that is a search result.
*)}val to_value :
t ->
[> `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 ]