Clear App Data
app_clear_dataClears all stored data for an installed Android app, like the system's Clear storage action, to reset app state for testing or troubleshooting. Specify package and optional device.
Instructions
Clear all data for an installed app (equivalent to clearing storage in settings)
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": "app_clear_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Target device serial | |
| packageName | Yes | Application package name |