Stop Adb App
stop_adb_appForce-stop all processes of an Android package via adb to end a dynamic-analysis run. Specify the device serial and package to terminate its running processes.
Instructions
Force-stop every process of one package (am force-stop), ending a dynamic-analysis run. A device-mutating tool; it succeeds whether or not the package had running processes.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "emulator-5554",
"package": "com.example.app"
},
"name": "stop_adb_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| package | Yes | Package whose processes are force-stopped |