View a markdown version of this page

HarnessToolUseBlockStart - Amazon Bedrock AgentCore Data Plane

HarnessToolUseBlockStart

Start payload for a tool use content block.

Contents

name

The name of the tool being called.

Type: String

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

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

Required: Yes

toolUseId

The unique ID of this tool use.

Type: String

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

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

Required: Yes

serverName

The name of the MCP server providing this tool.

Type: String

Required: No

type

The type of tool use.

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 AWS SDKs, see the following: