Force-stop an app
devilge_force_stop_appKill all processes of a specified Android app. Useful to ensure a cold start on relaunch or to stop a hung app.
Instructions
Runs am force-stop <pkg> — kills every process of the given app. Useful before relaunch to ensure a cold start, or when an app is hung.
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": "devilge_force_stop_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. | |
| packageName | Yes | App applicationId to kill. |