screen_drag
Drag the mouse cursor between two screen coordinates. Use for automated dragging actions such as moving objects, selecting text, or scrolling.
Instructions
鼠标拖拽(需 VISION_ALLOW_SCREEN_CONTROL=1)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| button | No | ||
| duration | No | 拖拽时长秒,默认 0.2 |