adb_stop_app
Force-stop a running Android app by its package name to terminate background processes and free device resources.
Instructions
Force-stop an app on the Android device.
Args: package: Package name (e.g., 'com.example.myapp'). device: Device serial number. If omitted, auto-selects when only one device is connected.
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": "adb_stop_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |