clear_app_data
Wipe an Android app's data and cache to reset it to first-launch state, reproducing onboarding and permission flows.
Instructions
Wipe an app's data and cache (pm clear) to reset it to a first-launch state — the fastest way to reproduce onboarding/permission flows from scratch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| package | Yes | Application package name (e.g. com.example.app). |