Skip to content

Make Tool.inputSchema non-optional #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattt
Copy link
Contributor

@mattt mattt commented May 29, 2025

According to the MCP specification, inputSchema is a required property of a Tool. Therefore, it should be represented by a non-optional type.

This is a breaking change to the API, and will require a (pre-1.0) minor version bump.

@mattt mattt force-pushed the mattt/nonoptional-tool-input-schema branch from 1ddb5f0 to 2c9690f Compare May 29, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant