function.rename
Rename an existing function in a Ghidra session using its start address and new name to make reverse-engineered code easier to identify and document.
Instructions
Rename an existing 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": {
"session_id": "<session_id>",
"function_start": "<function_start>",
"name": "<name>"
},
"name": "function.rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| session_id | Yes | ||
| function_start | Yes |