View a markdown version of this page

HarnessTool - 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).

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