annotation.rename_function
Rename a function in a Binary Ninja session by specifying its start address and a new name, updating all cross-references and annotations automatically.
Instructions
Rename a 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>",
"new_name": "<new_name>"
},
"name": "annotation.rename_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| session_id | Yes | ||
| function_start | Yes |