uninstall_app
Remove an Android application package from a connected device or emulator. Optionally keep app data and cache during uninstallation.
Instructions
Uninstall an application package from the connected 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": "uninstall_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Specific device serial number | |
| keepData | No | Keep the cache and data directories (-k flag) | |
| packageName | Yes | The Android package name of the app to uninstall (e.g. 'com.example.app') |