launch_app
Start an installed Android app and report launch state (COLD/WARM/HOT) plus TotalTime, so QA can measure startup performance and verify the app opens correctly.
Instructions
Start an installed app (launcher activity unless activity is given).
Reports launch state (COLD/WARM/HOT) and TotalTime from `am start -W`.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 |
|---|---|---|---|
| serial | No | ||
| package | Yes | Android application id, e.g. org.example.app | |
| activity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| status | Yes | ||
| dry_run | Yes | ||
| component | Yes | ||
| launch_state | No | ||
| total_time_ms | No |