Uninstall Adb Package
uninstall_adb_packageUninstalls a single package from an Android device via adb, removing its data for user 0. Use it to clean up or reset an app; missing packages return the device's own refusal reason.
Instructions
Uninstall one package from the device (adb uninstall), removing its data for user 0. A device-mutating tool; absent packages report the device's own refusal reason.
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": "uninstall_adb_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| package | Yes | Installed package to uninstall |