check_compatibility
Check compatibility between two versions of an ATProtocol lexicon schema. Detects breaking vs non-breaking changes and provides migration guidance. Supply either two schema JSON objects directly (from_schema + to_schema), or an NSID with two CIDs to compare stored versions (nsid + from_cid + to_cid).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nsid | No | Optional: The lexicon NSID. If provided with from_cid and to_cid, fetches schemas from storage. | |
| to_cid | No | Optional: CID of the newer version (used with nsid) | |
| from_cid | No | Optional: CID of the older version (used with nsid) | |
| to_schema | No | Optional: The newer schema JSON (used without nsid) | |
| from_schema | No | Optional: The older schema JSON (used without nsid) |