adb_uninstall
Removes an Android app package from a connected device via ADB, with an option to keep app data and cache when uninstalling.
Instructions
Uninstall a package from 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": "adb_uninstall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| keepData | No | Keep app data and cache (-k flag) | |
| packageName | Yes | Package name (e.g., 'com.example.app') |