app_clear_data
Wipe an Android app's data and cache via pm clear, resetting it to a fresh-install state. Use it to fix corrupted app state or start testing from a clean slate.
Instructions
Wipe an app's data and cache (pm clear) — resets it to a fresh-install state.
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": "app_clear_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package to clear |