variable.rename
Renames a local variable or parameter in a function, replacing unclear identifiers with meaningful names to improve reverse-engineering readability.
Instructions
Rename a local variable or parameter.
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>",
"new_name": "<new_name>"
},
"name": "variable.rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| ordinal | No | ||
| storage | No | ||
| new_name | Yes | ||
| session_id | Yes | ||
| function_start | Yes |