stop_app
Force-stop an Android app by package name to trigger a cold start, enabling you to test launch behavior from a terminated state.
Instructions
Force-stop an app. Pair with launch_app to test a cold start.
Args: package: application id, e.g. com.example.app. serial: device serial when several are attached.
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": "stop_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |