Skip to content

Conversation

@jba
Copy link
Contributor

@jba jba commented Jan 13, 2026

Exported GetError and SetError.

Fixes #64

- Capitalized getError() to GetError() to make it a public method
- Capitalized setError() to SetError() to make it a public method
- Updated all internal references to use the new exported names
- Improved documentation for both methods
@jba jba changed the title Export GetError and SetError methods on CallToolResult Export GetError and SetError methods Jan 13, 2026
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: Give receiving middleware access to tool errors.

3 participants