Clear app state
clear_app_stateReset an app's state on Android and iOS. Android performs a full data wipe; iOS resets permissions, with a full wipe requiring app reinstall.
Instructions
Reset app state. Android: full data wipe (pm clear). iOS: resets permissions (full data wipe needs reinstall).
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": {
"device_id": "<device_id>",
"app_id": "<app_id>"
},
"name": "clear_app_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) |