-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
The current json-schema-2020-12 scenario is a server test that verifies servers can emit JSON Schema 2020-12 fields ($schema, $defs, additionalProperties).
However, the TypeScript SDK's PR #1135 actually fixed the client side - it added .catchall() to preserve these fields when parsing tool definitions received from servers.
Suggestion
Consider adding a client test that:
- Test server emits a tool with
$schema,$defs,additionalProperties - SDK client calls
tools/list - Client echoes back the schema via a special tool call
- Test verifies the client preserved all JSON Schema 2020-12 fields
This would more directly test what PR #1135 fixed.
Priority
Low - the server test still provides value by testing the wire format, even though the SDK's high-level API doesn't make it easy to emit raw JSON Schema 2020-12.
Related
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request