Title: mcp.types.Tool is not following python's naming convention · Issue #97 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: mcp.types.Tool is not following python's naming convention · Issue #97 · modelcontextprotocol/python-sdk
X Title: mcp.types.Tool is not following python's naming convention · Issue #97 · modelcontextprotocol/python-sdk
Description: 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. Additional...
Open Graph Description: 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 conven...
X Description: 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 c...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/97
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcp.types.Tool is not following python's naming convention ","articleBody":"**Describe the bug**\r\nThe 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.\r\n\r\nhttps://github.com/modelcontextprotocol/python-sdk/blob/aaf32b530738ff79ba607c2884374243350f521c/src/mcp/types.py#L660 \r\n\r\n**Expected behavior**\r\ninputSchema get renamed to input_schema\r\n\r\n**Screenshots**\r\nN/A\r\n","author":{"url":"https://github.com/santosflores","@type":"Person","name":"santosflores"},"datePublished":"2024-12-11T06:55:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/97/python-sdk/issues/97"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b29968b1-2a74-6b01-8011-a701f16b184f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB48:324FD4:1709EFC:20D4B99:6A5A221D |
| html-safe-nonce | 03d84ab9fe242efcfa50b336e0fdcaf69c2b0af74efe1de79997a97f43dbadf5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjQ4OjMyNEZENDoxNzA5RUZDOjIwRDRCOTk6NkE1QTIyMUQiLCJ2aXNpdG9yX2lkIjoiNTA1NTE2MjIyNDExNTA2NTM3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4d4c671e93db41c385be63e37b6a3fd1e4be2529943c3f6f52befd2e70b91372 |
| hovercard-subject-tag | issue:2731989348 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/97/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62424d9a7c1a4570e8e55f06304756709b546f26aaa667076fc5791e57819524/modelcontextprotocol/python-sdk/issues/97 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62424d9a7c1a4570e8e55f06304756709b546f26aaa667076fc5791e57819524/modelcontextprotocol/python-sdk/issues/97 |
| og:image:alt | 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 conven... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | santosflores |
| hostname | github.com |
| expected-hostname | github.com |
| None | e31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c9fcdbf98c619d1561ed843fa01d9766a32b5cd9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width