browser_mouse_drag
Drag mouse cursor from specified starting coordinates to ending coordinates to simulate user interactions in browser automation.
Instructions
Drag from one position to another (see browser_docs)
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_mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromX | Yes | Starting X coordinate | |
| fromY | Yes | Starting Y coordinate | |
| toX | Yes | Ending X coordinate | |
| toY | Yes | Ending Y coordinate |