Skip to content

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

Open
@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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions