launch_app
Start an Android app by package name to begin UI testing. Optionally specify an activity or target device for precise control.
Instructions
Launch an Android app by package name, optionally specifying an activity
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 |
|---|---|---|---|
| package | Yes | The app package name (e.g., com.example.app) | |
| activity | No | The activity to launch (e.g., .MainActivity). If omitted, launches the default/launcher activity. | |
| device_id | No | Target device ID. If omitted, uses the default device. |