Inspect Adb Package
inspect_adb_packageRetrieves version, install/update times, installer, user ID, flags, and permission count for one installed Android package via dumpsys, ignoring unknown sections. Read-only inspection.
Instructions
Inspect one installed package through dumpsys package: version name/code, install and update times, installer, user id, flags, and the requested-permission count. A fixed projection of version-dependent output; unknown sections are ignored rather than guessed. Read-only.
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": {
"serial": "emulator-5554",
"package": "com.example.app"
},
"name": "inspect_adb_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| package | Yes | Installed package to inspect |