Trace Android References
trace_android_referencesTrace incoming static references to an exact Android class or unique method in a local APK, mapping code usage without executing the target or inferring runtime calls.
Instructions
Trace incoming static references to an exact Android class or unique method. Overloaded method reference queries are explicitly unsupported by the current engine. Source lines and DEX offsets remain unknown; no runtime calls are inferred.
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"
},
"name": "trace_android_references"
}
}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 | No | Omit for class references; ambiguous overloaded methods are unsupported |