Swipe
swipePerform a swipe gesture from a start point to an end point on a mobile device. Use it to scroll lists, dismiss notifications, navigate pages, or pull down the notification shade. Adjust duration for flick (short) or drag (long).
Instructions
Perform a swipe gesture from (start_x, start_y) to (end_x, end_y). Use this to scroll through lists, dismiss notifications, navigate between pages, or pull down the notification shade. A shorter duration makes the swipe faster (flick), while a longer duration makes it slower (drag).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device serial ID | |
| start_x | Yes | Starting X coordinate in pixels | |
| start_y | Yes | Starting Y coordinate in pixels | |
| end_x | Yes | Ending X coordinate in pixels | |
| end_y | Yes | Ending Y coordinate in pixels | |
| duration | No | Swipe duration in milliseconds (lower = faster) |