Skip to content

Conversation

@jba
Copy link
Contributor

@jba jba commented Sep 17, 2025

Provide a way for middleware to get the error from a tool call, demonstrating that we can add this functionality without making a breaking change.

Leave getError unexported for now; we can export it (and setError) at any time.

For #64.

Provide a way for middleware to get the error from a tool call,
demonstrating that we can add this functionality without making
a breaking change.

Leave getError unexported for now; we can export it (and setError)
at any time.

For modelcontextprotocol#64.
findleyr
findleyr previously approved these changes Sep 17, 2025
Copy link
Contributor

@findleyr findleyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but for the staticcheck error.

@jba jba merged commit 140b939 into modelcontextprotocol:main Sep 18, 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.

2 participants