ida_rename
Renames functions, globals, or fields by address or existing name in IDA Pro and updates the database; call ida_save to persist changes.
Instructions
Rename an address (function, global, field). Writes to the database; call ida_save to persist.
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": {
"target": "<target>",
"name": "<name>"
},
"name": "ida_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | Yes | Address or name: '0x401000', 'sub_401000', a defined name, 'libUE4.so+0x1234', or a unique part of a function name. |