MCP schemas¶
Shared metadata schemas used by MCP servers and clients.
Schemas shared by MCP servers and clients.
File: klea_utils/mcp/schemas.py
Copyright 2026 Ankur Sinha Author: Ankur Sinha <sanjay DOT ankur AT gmail DOT com>
- class klea_utils.mcp.schemas.ToolInfo(*, description: str | None = None, title: str | None = None, tags: set[str] | None = None, meta: dict[str, Any] | None = None)[source]¶
Bases:
BaseModelMetadata used to describe an MCP tool to clients and models.
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].