IT WORKS
This commit is contained in:
@@ -10,7 +10,13 @@ class MCPTool(BaseModel):
|
||||
|
||||
name: str = Field(..., description="Unique tool identifier")
|
||||
description: str = Field(..., description="Human-readable tool description")
|
||||
input_schema: Dict[str, Any] = Field(..., description="JSON Schema for tool input")
|
||||
input_schema: Dict[str, Any] = Field(
|
||||
..., alias="inputSchema", description="JSON Schema for tool input"
|
||||
)
|
||||
|
||||
class Config:
|
||||
populate_by_name = True
|
||||
by_alias = True
|
||||
|
||||
|
||||
class MCPToolCallRequest(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user