Save the IDB database
idb_saveSave the active IDA database to disk, optionally to a specified path, while preserving its working files to avoid corruption.
Instructions
Save active IDB to disk, optionally to a provided path.
The open database is backed by loose working files (.id0/.id1/.id2/.nam/.til) that IDA actively manages, headless included. Killing them out from under the open database corrupts it (issues #446, #498), so DBFL_KILL is never used here: an in-place save uses IDA's native save (Ctrl+W), and an explicit different destination gets a compressed copy while the working files stay.
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": "idb_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional destination path (default: current IDB path) | |
| instance_id | No | Optional database instance id. If omitted, use the current target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | Yes | ||
| error | No |