View a markdown version of this page

ToolDefinition - Amazon Bedrock AgentCore Control 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).

ToolDefinition

A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.

Contents

description

The description of the tool. This description provides information about the purpose and usage of the tool.

Type: String

Required: Yes

inputSchema

The input schema for the tool. This schema defines the structure of the input that the tool accepts.

Type: SchemaDefinition object

Required: Yes

name

The name of the tool. This name identifies the tool in the Model Context Protocol.

Type: String

Required: Yes

outputSchema

The output schema for the tool. This schema defines the structure of the output that the tool produces.

Type: SchemaDefinition object

Required: No

See Also

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