get_method_by_name
Retrieve the decompiled source code of a specific method from a given class. Use for live reverse engineering of Android apps.
Instructions
Fetch the source code of a method from a specific class.
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": {
"class_name": "<class_name>",
"method_name": "<method_name>"
},
"name": "get_method_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | ||
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||