View a markdown version of this page

HarnessTool - Amazon Bedrock AgentCore Control Plane

HarnessTool

A tool available to the agent loop.

Contents

type

The type of tool.

Type: String

Valid Values: remote_mcp | agentcore_browser | agentcore_gateway | inline_function | agentcore_code_interpreter

Required: Yes

config

Tool-specific configuration.

Type: HarnessToolConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

name

Unique name for the tool. If not provided, a name will be inferred or generated.

Type: String

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

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

Required: No

See Also

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