Launch an app
android_launch_appLaunch an Android app on an emulator or connected device by package name. Optionally force-stop it first to relaunch the app for testing or debugging.
Instructions
Launches an app by package name. relaunch: true force-stops it first.
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": "android_launch_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | adb serial (from android_devices). Default: the only online device. | |
| relaunch | No | ||
| packageName | Yes |