Compare two scans
diffCompare before and after scan reports by fingerprint to see which issues a change fixed and which it introduced, returning verdicts and deltas without relying on line numbers.
Instructions
What a change fixed and broke, by fingerprint, not line number. Use scan to make the two reports, plan to pick the next fix. Read-only, offline. Returns verdict, deltas, fixed[], new[].
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": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | The report after the change: JSON text or a file path. | |
| before | Yes | The report before the change: JSON text or a file path. |