adb_list_permissions
Inspect declared and granted permissions for an Android package and filter by granted/denied status to audit permission state before or after grant or revoke operations.
Instructions
List permissions declared and granted for a package. Parses the package dump to show install-time and runtime permissions with their current grant state. Useful for auditing permission state before and after grant/revoke operations.
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": {
"packageName": "<packageName>"
},
"name": "adb_list_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| filter | No | Show all permissions, only granted, or only denied (default: all) | all |
| packageName | Yes | Package name (e.g., 'com.example.app') |