rename_method
Renames a specific method in decompiled Android code, optionally scoped to a class, to clarify or correct identifiers during reverse engineering.
Instructions
Renames a specific method, optionally scoped to class_name.
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": {
"method_name": "<method_name>",
"new_name": "<new_name>"
},
"name": "rename_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| class_name | No | ||
| method_name | Yes | ||
| method_signature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||