Skip to content

Conversation

@jba
Copy link
Contributor

@jba jba commented Sep 3, 2025

toolForErr was ignoring the output schema if the output type was any.
That neglected the case where the user provided their own output schema.

Fixes #371.

toolForErr was ignoring the output schema if the output type was any.
That neglected the case where the user provided their own output schema.

Fixes modelcontextprotocol#371.
@jba jba merged commit 3026172 into modelcontextprotocol:main Sep 4, 2025
5 checks passed
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.

Proposal: Add AddToolForType for Runtime Type Support

2 participants