diff_checkpoints
Compare two checkpoints and return change data to inspect what differs before merging or restoring. Uses current branch by default; read-only.
Instructions
Compute the diff between two checkpoints and return the change data. Branch ids default to the current branch. Read-only; does not reload the editor. Use to inspect what changed before merging or restoring. When NOT to use: to roll back to a checkpoint (use restore_checkpoint).
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": {
"srcCheckpointId": "<srcCheckpointId>",
"dstCheckpointId": "<dstCheckpointId>"
},
"name": "diff_checkpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dstBranchId | No | Branch of the destination checkpoint (defaults to the current branch) | |
| srcBranchId | No | Branch of the source checkpoint (defaults to the current branch) | |
| dstCheckpointId | Yes | Id of the destination (newer) checkpoint | |
| srcCheckpointId | Yes | Id of the source (older) checkpoint |