ToolResultBlock - Amazon Bedrock

ToolResultBlock

A tool result block that contains the results for a tool request that the model previously made.

Contents

content

The content for tool result content block.

Type: Array of ToolResultContentBlock objects

Required: Yes

toolUseId

The ID of the tool request that this is the result for.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_-]+$

Required: Yes

status

The status for the tool result content block.

Note

This field is only supported Anthropic Claude 3 models.

Type: String

Valid Values: success | error

Required: No

See Also

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