schema-compat
Breaking-change diff between two JSON Schemas or OpenAPI documents, and whether cached calls still validate — Compares an old and a new JSON Schema 2020-12 (or two OpenAPI 3.0/3.1 documents) and lists each change with its path, keyword, old and new value, whether it narrows or widens what is accepted, and whether it breaks clients: newly required properties, removed or retyped properties, removed enum values, tightened limits, additionalProperties flips, removed operations, removed or newly required param
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": {
"before": "<before>",
"after": "<after>",
"kind": "<kind>"
},
"name": "schema-compat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| role | No | json-schema only: request (default) or response; OpenAPI compares each side in its own role. | |
| after | Yes | The new schema, or new OpenAPI document. Full JSON Schema 2020-12 (local $ref only). | |
| calls | No | ||
| before | Yes | The old schema, or old OpenAPI document. Full JSON Schema 2020-12 (local $ref only). |