swipe_screen
Perform swipe or drag gestures on Android devices by providing start and end coordinates. Optionally set duration to control gesture speed.
Instructions
Swipe from starting coordinates to ending coordinates, with an optional duration parameter to simulate drag actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Starting X coordinate (pixels) | |
| x2 | Yes | Ending X coordinate (pixels) | |
| y1 | Yes | Starting Y coordinate (pixels) | |
| y2 | Yes | Ending Y coordinate (pixels) | |
| serial | No | Specific device serial number | |
| duration | No | Swipe gesture duration in milliseconds (optional, e.g. 500) |