Skip to content

ToolsDefinitionDict

Dictionary Type

ToolsDefinitionDict

Bases: TypedDict

Dictionary form of ToolsDefinition.

Attributes

inline_content instance-attribute
inline_content: str | None

The JSON content containing the MCP tools definition, conforming to the MCP protocol specification.

protocol_version instance-attribute
protocol_version: str | None

The protocol version of the tools definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.