Rename Function
rename_functionRename a function in a binary and immediately save the change to the Ghidra project so it is visible in the GUI.
Instructions
重命名函数(立即保存到项目,GUI 打开同一项目可见)。
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": {
"binary": "<binary>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| binary | Yes | ||
| new_name | Yes | ||
| old_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |