The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
load load_tools_from_config
Ishaan Jaff3dcba108ca01
diff --git a/litellm/types/mcp_server/tool_registry.py b/litellm/types/mcp_server/tool_registry.pyindex 7b306ea8be7..266159343df 100644--- a/litellm/types/mcp_server/tool_registry.py+++ b/litellm/types/mcp_server/tool_registry.py@@ -1,4 +1,4 @@-from typing import Any, Callable, Dict+from typing import Any, Callable, Dict, List, Optionalfrom pydantic import BaseModel@@ -8,3 +8,31 @@ class MCPTool(BaseModel):description: strinput_schema: Dict[str, Any]handler: Callable+++class ToolSchema(BaseModel):+ name: str+ description: str+ inputSchema: Dict[str, Any]+++class ListToolsResponse(BaseModel):+ tools: List[ToolSchema]+ nextCursor: Optional[str] = None+ _meta: Optional[Dict[str, Any]] = None+++class CallToolRequest(BaseModel):+ method: str = "tools/call"+ params: Dict[str, Any]+++class ContentItem(BaseModel):+ type: str+ text: Optional[str] = None+++class CallToolResponse(BaseModel):+ content: List[ContentItem]+ isError: Optional[bool] = None+ _meta: Optional[Dict[str, Any]] = None