List installed packages
list_packagesQuery installed Android package names on a device via adbmcp, with optional substring filtering to locate specific apps for targeted actions.
Instructions
List package names installed on one device (optionally filtered by a substring of the package name), e.g. filter "com.example" to find only the app you care about.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial from list_devices; optional when exactly one device is connected. | |
| filter | No | Substring filter passed to `pm list packages`, e.g. "example" or "com.android.chrome". |