py_exec_file
Run a Python script file on a specified IDA Pro instance to automate reverse-engineering tasks.
Instructions
Execute a Python script file in IDA context.
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": {
"file_path": "<file_path>",
"instance_id": "<instance_id>"
},
"name": "py_exec_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a Python script | |
| instance_id | Yes | Target IDA instance ID (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||