Apply Patch
apply_patchApplies IDB byte patches to a copied input file and exports the patched binary while preserving the original.
Instructions
Apply IDB byte patches to a copied input file and export it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in seconds | |
| overwrite | No | Overwrite output_path if it already exists | |
| 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. | |
| output_path | No | Output file path. Defaults to '<input>.patched<ext>'; relative paths are resolved next to the input file. |