swipe_screen
Perform a swipe gesture on an Android screen from start coordinates to end coordinates. Set an optional duration in milliseconds to control the gesture speed.
Instructions
在屏幕上执行滑动操作,从起点滑动到终点。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | 滑动起点的 x 坐标。 | |
| x2 | Yes | 滑动终点的 x 坐标。 | |
| y1 | Yes | 滑动起点的 y 坐标。 | |
| y2 | Yes | 滑动终点的 y 坐标。 | |
| duration_ms | No | 滑动持续时间(毫秒),默认 300ms。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |