Skip to content

Bedrock Agentcore  >  Structures  >  ToolsDefinition

ToolsDefinition

Structure Class

ToolsDefinition dataclass

The MCP tools definition with a protocol version and inline content. The protocolVersion identifies the MCP protocol version that the tools conform to. This differs from schemaVersion in the server definition, which identifies the server configuration schema format.

Attributes

inline_content class-attribute instance-attribute
inline_content: str | None = None

The inline content of the tools definition.

protocol_version class-attribute instance-attribute
protocol_version: str | None = None

The MCP protocol version that the tools conform to. This differs from the schemaVersion field in the server definition, which identifies the server configuration schema format.