Diff Before After
diff_before_afterSnapshot a function’s decompilation, run a specified modification tool, and return a unified diff to verify changes before and after.
Instructions
Snapshot a function's decompilation, run a modification tool, return the unified diff.
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": {
"address": "<address>",
"action": "<action>"
},
"name": "diff_before_after"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Name of the modification tool to invoke | |
| address | Yes | Function name or address to snapshot | |
| timeout | No | Timeout in seconds | |
| action_args | No | Arguments passed to the action tool | |
| instance_id | No | REQUIRED whenever more than one database is open (from open_database's result or list_databases()); optional only while exactly one instance is live. |