get_local_variables
Retrieve all local variables and arguments of a decompiled function in IDA Pro using Hex-Rays. Pass a function name or address to inspect its local data.
Instructions
Get all local variables and arguments of a decompiled function. Requires Hex-Rays. Pass function name or address.
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": {
"identifier": "<identifier>"
},
"name": "get_local_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |