View a markdown version of this page

HarnessToolResultBlock - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HarnessToolResultBlock

The result of a tool execution.

Contents

content

The content of the tool result.

Type: Array of HarnessToolResultContentBlock objects

Required: Yes

toolUseId

The tool use ID that this result corresponds to.

Type: String

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

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

Required: Yes

status

The status of the tool execution.

Type: String

Valid Values: success | error

Required: No

type

The type of tool use that produced this result.

Type: String

Valid Values: tool_use | server_tool_use | mcp_tool_use

Required: No

See Also

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