rename_stack_frame_variable
Rename stack variables in IDA Pro functions to improve code readability and reverse engineering analysis by updating variable names within disassembled functions.
Instructions
Change the name of a stack variable for an IDA function
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": {
"function_address": "<function_address>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_stack_frame_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_address | Yes | Address of the disassembled function to set the stack frame variables | |
| old_name | Yes | Current name of the variable | |
| new_name | Yes | New name for the variable (empty for a default name) |