inspect_android_method
Decompile a specific Android method from an APK with smali fallback, resolving same-name overloads via an explicit index and reporting representation and source truncation.
Instructions
Decompile one Android method with smali fallback. Requires explicit overload_index when multiple methods share a name. Reports representation, fallback markers and source truncation; never treats display signatures as exact DEX identities.
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": {
"path": "<path>",
"class_name": "<class_name>",
"method_name": "<method_name>"
},
"name": "inspect_android_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local APK path; the target is never executed | |
| class_name | Yes | Exact fully qualified class name | |
| method_name | Yes | ||
| overload_index | No | Explicit index among same-name methods; required when ambiguous | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |