Clear App Data
mobile_clear_app_dataClears app cache, documents, preferences, and databases, then stops the app so it relaunches fresh while staying installed. Supports Android devices/emulators and iOS simulators, not real iOS devices.
Instructions
Clear an app's data, such as its cache, documents, preferences and databases, and stop the app, so the next launch starts as if freshly installed. The app stays installed. Supported on Android devices and emulators and on iOS simulators, not on real iOS devices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| packageName | Yes | The package name (Android) or bundle id (iOS) of the app to clear |