Compare with a checkpoint
diffShow what changed between a checkpoint and the current memory, or between two checkpoints: added, modified and removed keys with their before and after values.
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": {
"from_snapshot_id": "<from_snapshot_id>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum keys listed per group. | |
| include_values | No | Include before and after values; set false for keys only. | |
| to_snapshot_id | No | Second checkpoint; omit to compare with the current state. | |
| from_snapshot_id | Yes | Checkpoint id from create_snapshot or list_snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | ||
| counts | Yes | ||
| removed | Yes | ||
| modified | Yes | ||
| truncated | Yes | ||
| values_included | Yes |