browser_drag
Drag from one coordinate to another with intermediate steps for drag-and-drop, slider manipulation, or text selection.
Instructions
Drag from one coordinate to another with smooth intermediate steps. Useful for drag-and-drop, slider manipulation, or text selection by dragging.
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": {
"fromX": "<fromX>",
"fromY": "<fromY>",
"toX": "<toX>",
"toY": "<toY>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | Yes | ||
| toY | Yes | ||
| fromX | Yes | ||
| fromY | Yes | ||
| steps | No | Number of intermediate mouse-move steps (default: 10) |