start_app_activity
Launch an Android app or a specific activity on a connected device. Provide the package name to open the default launcher, or include the full activity path to target a particular screen.
Instructions
Launch an app or a specific activity on the device. If activity is not provided, launches the default launcher 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": {
"packageName": "<packageName>"
},
"name": "start_app_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Specific device serial number | |
| packageName | Yes | Package name of the app (e.g. 'com.example.app') | |
| activityName | No | Full main activity path name (e.g. '.MainActivity' or 'com.example.app/.MainActivity') |