Skip to content

mcp.types.Tool is not following python's naming convention Β #97

@santosflores

Description

@santosflores

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.

inputSchema: dict[str, Any]

Expected behavior
inputSchema get renamed to input_schema

Screenshots
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Nice to haves, rare edge casescode qualityno-op changes to code qualityenhancementNew feature or requestready for workEnough information for someone to start working onv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions