ida_exec
Runs arbitrary IDAPython in IDA Pro's kernel and returns captured stdout plus an optional result variable when dedicated tools cannot handle a task.
Instructions
Escape hatch: run arbitrary IDAPython inside the kernel and return captured stdout plus a 'result' variable if the script sets one. Use when no dedicated tool fits.
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": {
"code": "<code>"
},
"name": "ida_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |