We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb55278 commit cbb69b6Copy full SHA for cbb69b6
mcpgateway/schemas.py
@@ -302,7 +302,7 @@ class ToolCreate(BaseModel):
302
gateway_id (Optional[str]): ID of the gateway for the tool.
303
"""
304
305
- model_config = ConfigDict(str_strip_whitespace=True)
+ model_config = ConfigDict(str_strip_whitespace=True, populate_by_name=True)
306
307
name: str = Field(..., description="Unique name for the tool")
308
url: Union[str, AnyHttpUrl] = Field(None, description="Tool endpoint URL")
0 commit comments