Diff two runs' outputs
diff_outputCompare saved command outputs across runs to see what changed. Diff against a previous run or an older specified command, with secrets masked and no re-execution.
Instructions
Unified diff (diff -u style plain text) between the stored outputs of two runs. With only 'id', diffs that command against the most recent EARLIER run of the exact same command line — 'what changed since it last ran?'; errors if no earlier identical command line exists. With 'other', diffs the two given commands (other = older side). Identical outputs return a note saying so. Secrets are masked by default. Read-only: diffs recordings, never re-runs anything.
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": {
"id": "<id>"
},
"name": "diff_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | newer command id (or -N for Nth most recent; -1 = last command) | |
| other | No | older command id to compare against (optional; default: previous run of the same command) | |
| context | No | lines of context around changes (default 3) |