swipe
Execute swipe gestures on mobile devices to navigate interfaces, scroll content, or interact with elements. Supports directional swipes or custom coordinates for Android and iOS automation.
Instructions
Perform a swipe gesture
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Swipe direction | |
| x1 | No | Start X (for custom swipe) | |
| y1 | No | Start Y (for custom swipe) | |
| x2 | No | End X (for custom swipe) | |
| y2 | No | End Y (for custom swipe) | |
| duration | No | Duration in ms (default: 300) | |
| platform | No | Target platform. If not specified, uses the active device. |