Diff two snapshots
box_diffCompare two sandbox snapshots to identify added, removed, and changed items by section, then write the full diff to a JSON file and return its host path.
Instructions
Compare two snapshots taken with box_snapshot in this sandbox run and list what was added, removed or changed in each section (up to 40 items per kind shown). Does not touch the sandbox; writes the full diff to \mail\out\diff--.json on the host and returns its path.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "box_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Name of the later snapshot, e.g. 'post'. | |
| before | Yes | Name of the earlier snapshot, e.g. 'pre'. |