app_stop
Force-stop a running Android app by providing its package name, terminating the process immediately to free up resources or resolve stuck app behavior on the device.
Instructions
Force-stop an app on the device.
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": "app_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number | |
| packageName | Yes | Package name to force-stop (e.g., 'com.example.app') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable description of the result | |
| success | Yes | Whether the app was force-stopped |