browser_mouse_drag_xy
Drag the mouse cursor from a start coordinate to an end coordinate on a web page. Use this to automate click-and-drag actions like selections or moving elements.
Instructions
Drag left mouse button to a given position
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": {
"startX": "<startX>",
"startY": "<startY>",
"endX": "<endX>",
"endY": "<endY>"
},
"name": "browser_mouse_drag_xy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | Yes | End X coordinate | |
| endY | Yes | End Y coordinate | |
| startX | Yes | Start X coordinate | |
| startY | Yes | Start Y coordinate |