adb_swipe
Perform swipes on Android device screens by specifying start and end coordinates and duration, enabling automated GUI interaction.
Instructions
Swipe on the Android device screen from one point to another.
Args: x1: Start X coordinate. y1: Start Y coordinate. x2: End X coordinate. y2: End Y coordinate. duration_ms: Swipe duration in milliseconds (default 300). device: Device serial number. If omitted, auto-selects when only one device is connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| device | No | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |