launch_app
Start an Android app by package name, with optional activity and verification. Find package names with list_installed_apps.
Instructions
Launches an app by package name (and optional activity). Use list_installed_apps to find package names.
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": {
"package": "<package>"
},
"name": "launch_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | 复查屏幕树确认变更生效 (default true). | |
| package | Yes | Package name, e.g. com.android.settings. | |
| activity | No | Optional activity class name. | |
| verify_poll_ms | No | 轮询树的时间间隔毫秒 (default 300). | |
| verify_timeout_ms | No | 等待变更生效的超时毫秒 (default 3000). | |
| stop_before_launch | No | Force-stop the app before launching (default false). |