mouse_drag
Drags the mouse from a start coordinate to an end coordinate to automate selecting, moving, or dropping items in macOS applications.
Instructions
Click and drag 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": {
"startX": "<startX>",
"startY": "<startY>",
"endX": "<endX>",
"endY": "<endY>"
},
"name": "mouse_drag"
}
}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 |