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: widen requestedSchema type to accept additional JSON Schema fields
The `requestedSchema` object in `ElicitRequestFormParamsSchema` was too
narrow, rejecting valid JSON Schema fields like `additionalProperties`
that Zod v4's `.toJSONSchema()` and other JSON Schema generators produce.
Add `.passthrough()` to the `requestedSchema` Zod object and include
the `$schema` field (already present in the spec types) so that standard
JSON Schema output is accepted without type errors.
Fixes#1362
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments