Rename Function
rename_functionRename a function in IDA Pro by specifying its name or address and a new C identifier. Use it to organize and clarify reverse engineering analysis.
Instructions
Rename function. Accepts 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": {
"address": "<address>",
"new_name": "<new_name>"
},
"name": "rename_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Function name or address (hex/decimal) | |
| timeout | No | Timeout in seconds | |
| new_name | Yes | New function name (valid C identifier) | |
| instance_id | No | REQUIRED whenever more than one database is open (from open_database's result or list_databases()); optional only while exactly one instance is live. |