Inspect Android Method
inspect_android_methodDecompile one Android method from a local APK with smali fallback; use overload_index for duplicate names and see fallback or truncation markers.
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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "/tmp/Example.apk",
"class_name": "example.MainActivity",
"method_name": "onCreate"
},
"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 |