Skip to content

Prevent new server code from returning toolResult #41

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

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

jspahrsummers
Copy link
Member

This doesn't impact the ability of clients to handle it (see Client.callTool), but does make it a type error to return the old format. This will make it easier to catch sites that haven't been updated.

Related: https://github.com/modelcontextprotocol/example-servers/pull/29

This doesn't impact the ability of clients to handle it (see `Client.callTool`), but does make it a type error to return the old format. This will make it easier to catch sites that haven't been updated.
@jspahrsummers jspahrsummers merged commit c9d810b into main Nov 8, 2024
4 checks passed
@jspahrsummers jspahrsummers deleted the justin/disallow-returning-old-tool-format branch November 8, 2024 16:21
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