Stop app
stop_appForce-stops an Android app by package name so you can reset it to a clean state and reproduce bugs. Pair with launch_app for a fresh start.
Instructions
Force-stop an app by package name. Pair with launch_app to reset an app to a clean start when reproducing a bug.
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 | Target device serial (adb -s). Optional when exactly one device is attached. | |
| package | Yes | Application package name (e.g. com.example.app). |