Swipe
phone_swipeSimulate finger swipes on an Android screen by coordinates or direction to navigate, scroll, or interact with apps, returning the updated UI.
Instructions
Swipe from (x1,y1) to (x2,y2), or by finger direction up/down/left/right across the screen. Returns the resulting screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| observe | No | Re-dump the UI after the action (default true) | |
| distance | No | Fraction of screen for direction swipes | |
| settleMs | No | Wait before re-observing, milliseconds | |
| direction | No | ||
| durationMs | No | ||
| includeScreenshot | No | Include a PNG screenshot in the response |