Release IDA database
close_databaseRelease this session's IDA database lease without disrupting other clients; for a final managed idalib lease, cancel orphaned IDA Python execution and wait for IDB shutdown. GUI databases stay open.
Instructions
Release this session's lease on an IDA database (.i64/.idb) without disrupting other clients. If this is the final lease on a managed idalib worker, orphaned IDA Python execution is cancelled and this call waits for the IDB to shut down. Databases open in the IDA GUI stay open.
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": "close_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | No | Optional database instance id. If omitted, release the current target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | Yes |