diff_schemas
Compare two JSON Schemas to identify added, removed, or changed fields, type and constraint changes, and classify each as breaking or non-breaking for backward compatibility analysis.
Instructions
Compare two JSON Schemas and identify all differences: added/removed/changed fields, type changes, constraint changes (min/max, patterns, enums). Classifies each change as breaking or non-breaking for backwards compatibility analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"old_schema": "<old_schema>",
"new_schema": "<new_schema>"
},
"name": "diff_schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_schema | Yes | The updated (new) JSON Schema | |
| old_schema | Yes | The original (old) JSON Schema |