open_database
Attach to a local executable or IDB through IDA Nexus to enable reverse engineering analysis. Load a database so you can query open files and run Python scripts.
Instructions
Attach to a GUI database or shared managed idalib worker through IDA Nexus.
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": {
"path": "<path>"
},
"name": "open_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a local executable or IDB. A GUI instance is used when available. | |
| set_current | No | Whether this database should become the default target for execute_python(). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| status | Yes | Attachment state: attached or current. | |
| backend | Yes | Instance backend: gui or idalib. | |
| log_path | Yes | ||
| nexus_id | Yes | ||
| recovery | Yes | Crash recovery performed while opening: none, repaired, or restored. | |
| instance_id | Yes |