diff_schema
Compare two versions of a learned schema and get exactly which fields were added, removed or changed type, each flagged as breaking or not. This is the "why did my handler start failing" answer, produced without reading a single payload. from defaults to the version before to.
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": {
"schema_id": "<schema_id>"
},
"name": "diff_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target version number, or "current". | |
| from | No | Baseline version number (defaults to the one before "to"). | |
| schema_id | Yes | The schema id. |