ToolResultContentBlock - Amazon Bedrock

ToolResultContentBlock

The tool result content block.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

document

A tool result that is a document.

Type: DocumentBlock object

Required: No

image

A tool result that is an image.

Note

This field is only supported by Anthropic Claude 3 models.

Type: ImageBlock object

Required: No

json

A tool result that is JSON format data.

Type: JSON value

Required: No

text

A tool result that is text.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: