You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcp.types.Tool is not following python's naming convention #97
Describe the bug
The input schema property is not following the snake case convention. Currently the property is defined as "inputSchema" instead of "input_schema". Ideally we can follow the convention as it is widely adopted. Additionally, not following the convention requires more lines of code on the client when passing the available tools to the API request.
Closing as duplicate of #1738, which proposes renaming all types.py fields from camelCase to snake_case. This specific case (inputSchema → input_schema) will be addressed as part of that broader effort.
Activity
Update types.py
soohoonc commentedon Feb 21, 2025
👍 this is very annoying
maxisbey commentedon Dec 8, 2025
Closing as duplicate of #1738, which proposes renaming all types.py fields from camelCase to snake_case. This specific case (
inputSchema→input_schema) will be addressed as part of that broader effort.