Drag
dragSimulates human-like cursor movements between coordinates to operate slider captchas, move-and-drop interfaces, range sliders, and pointer automation tasks.
Instructions
Humanized bezier-jitter mouse drag. Slider captchas, drag-drop UI, range sliders.
Ex: drag('t0', 100, 200, 400, 200) → {"ok":true}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tab_id": "<tab_id>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| button | No | left | |
| tab_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||