Skip to content

Bedrock Agentcore Control  >  Unions  >  ToolSchema

ToolSchema

Union Type

ToolSchema module-attribute

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

Union Member Types

ToolSchemaS3 dataclass

The Amazon S3 location of the tool schema. This location contains the schema definition file.

Attributes

value instance-attribute

ToolSchemaInlinePayload dataclass

The inline payload of the tool schema. This payload contains the schema definition directly in the request.

Attributes

value instance-attribute
value: list[ToolDefinition]

ToolSchemaUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str