Open Database
open_databaseOpen a binary or existing IDA database (.i64/.idb) for reverse-engineering analysis. Returns immediately; call wait_for_analysis before using other tools to ensure loading completes.
Instructions
Open a binary or existing IDA database (.i64/.idb) for analysis.
Returns immediately with "opening": true — call
wait_for_analysis before using other tools on this database.
Re-opening an already-open database returns the existing worker.
Multiple binaries: use a separate subagent per binary. Each agent calls open_database then wait_for_analysis. Do NOT serialize open+wait calls — that blocks parallel loading.
force_new=True is destructive: deletes existing .i64/.idb and all prior analysis. Use only for stale/incompatible DBs.
Fat Mach-O: requires explicit fat_arch (e.g. arm64).
Error lists available slices. Use distinct database_id per
slice for concurrent analysis. fat_arch must be omitted for
non-fat files and existing databases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loader | No | IDA loader (e.g. "ELF", "PE", "Binary file"). Auto-detected when omitted. See list_targets. | |
| options | No | Extra IDA CLI arguments. Do not duplicate processor/loader/base_address flags here. | |
| fat_arch | No | Mach-O fat slice (``x86_64``, ``arm64``, etc.). Required for fat binaries; must be omitted for thin files and existing databases. | |
| file_path | Yes | Path to the binary file or IDA database. | |
| force_new | No | Delete existing DB files and start fresh. | |
| keep_open | No | Keep other open databases (default True). | |
| processor | No | IDA processor module (e.g. ``metapc``, ``arm``, ``mips``). Auto-detected when omitted. **ARM:** defaults to AArch64 — use ``arm:ARMv7-M`` for Cortex-M, ``arm:ARMv7-A`` for 32-bit. Use list_targets to see options. | |
| database_id | No | Custom ID (must match [a-z][a-z0-9_]{0,31}). | |
| base_address | No | Base address for raw binaries (hex/decimal, 16-byte aligned). Ignored for structured formats. | |
| run_auto_analysis | No | Run IDA auto-analysis after opening. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||