List packages
list_packagesLists installed Android package names, optionally filtered by substring, to confirm an app is installed and retrieve its exact package name for launch or stop actions.
Instructions
List installed package names, optionally filtered by substring — to confirm an app is installed and get its exact package name for launch_app/stop_app.
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 |
|---|---|---|---|
| filter | No | Substring to filter package names. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |