android_launch_app
Launch Android apps on devices or emulators by specifying package names, with optional activity and device selection for targeted testing.
Instructions
Launch an app on an Android device/emulator by package name
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 |
|---|---|---|---|
| packageName | Yes | Package name of the app (e.g., com.example.myapp) | |
| activityName | No | Optional activity name to launch (e.g., .MainActivity). If not provided, launches the main activity. | |
| deviceId | No | Optional device ID. Uses first available device if not specified. |