contract_compare
Compare two immutable versions of a private data contract and report added, removed, and changed schema paths. Useful for reviewing upstream API contract changes before publishing or upgrading an agent.
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": {
"contractId": "<contractId>",
"accessToken": "<accessToken>",
"fromVersion": "<fromVersion>",
"toVersion": "<toVersion>"
},
"name": "contract_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toVersion | Yes | Later contract schema version to compare. | |
| contractId | Yes | Unique identifier of the contract. | |
| accessToken | Yes | Secret access token issued for this contract. | |
| fromVersion | Yes | Earlier contract schema version to compare. | |
| operationId | No | Stable unique request identifier. Reuse it only for an exact retry. |