mouse_drag
Drag the mouse pointer between specified screen coordinates to simulate real user interactions in browser automation.
Instructions
Drag the real mouse from one point to another.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| duration | No | ||
| button | No | left |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||