mobile_gesture
Execute gestures on an Android device, including tap, swipe, long-press, drag, and multi-step sequences.
Instructions
Execute gestures on the Android device: tap, swipe, long-press, drag, or multi-step gesture sequences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate | |
| y | No | Y coordinate | |
| x2 | No | End X (required for swipe/fastswipe/swipe-hold-*) | |
| y2 | No | End Y (required for swipe/fastswipe/swipe-hold-*) | |
| text | No | Find element by text and tap it (alternative to x/y) | |
| delay | No | Delay before this step (ms) | |
| action | Yes | Gesture type | |
| serial | No | ADB device serial (optional) | |
| duration | No | Duration in ms | |
| return_screen | No | Capture screen after gesture (default: true) |