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
P3Nice to haves, rare edge casesbreaking changeWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedready for workEnough information for someone to start working onv2Affects the v2 line (2.x on main)
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.
P3Nice to haves, rare edge casesbreaking changeWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedready for workEnough information for someone to start working onv2Affects the v2 line (2.x on main)
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.