clear_app_data
Clear an app's data and cache to reset it to a fresh-install state. Use to test onboarding flows or reproduce first-launch bugs.
Instructions
Clear all data and cache for an app (equivalent to Settings → App → Clear Data). Resets the app to a fresh-install state. Useful for testing onboarding or reproducing first-launch bugs.
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": {
"deviceId": "<deviceId>",
"platform": "<platform>",
"packageId": "<packageId>"
},
"name": "clear_app_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | ||
| platform | Yes | ||
| packageId | Yes | Android package ID or iOS bundle ID (e.g. 'com.example.app') |