list_dex_classes
Lists all classes in DEX files from an APK, showing fully qualified names, access modifiers, and method counts for structural analysis.
Instructions
Enumerate every class in every classes*.dex in the APK.
Returns one record per class::
{
"fqn": "com.foo.Bar",
"access": "public",
"method_count": N
}plus a per-dex summary. Use this for the "what's actually compiled into this APK" view — class names are the structural fact, not the implementation. Apktool would give a Smali dump; the MCP surface sticks to the typed class graph so the analyst can ask Claude "what classes are in this APK" without dragging the full bytecode into context.
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>"
},
"name": "list_dex_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |