You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make strict validation errors throw instead of returning error responses
When strictInputSchemaValidation is enabled, validation errors now properly
throw (reject the request) instead of being caught and returned as error
responses with isError: true.
Changes:
- Add strictInputSchemaValidation field to RegisteredTool type
- Store strictInputSchemaValidation flag when creating tools
- Modify error handling to rethrow validation errors when strict mode enabled
This ensures tools with strict validation fail fast on invalid input,
maintaining backwards compatibility for tools without strict validation
where errors are returned as error responses.
Changes linted and tested.
<em>🤖 Created with Claude Code via Airchat</em>
0 commit comments