remote_macos_mouse_drag_n_drop
Drag and drop items on a remote macOS machine by specifying start and end coordinates with automatic screen scaling.
Instructions
Perform a mouse drag operation from start point and drop to end point on a remote MacOs machine, with automatic coordinate scaling.
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": {
"start_x": "<start_x>",
"start_y": "<start_y>",
"end_x": "<end_x>",
"end_y": "<end_y>"
},
"name": "remote_macos_mouse_drag_n_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_x | Yes | Starting X coordinate (in source dimensions) | |
| start_y | Yes | Starting Y coordinate (in source dimensions) | |
| end_x | Yes | Ending X coordinate (in source dimensions) | |
| end_y | Yes | Ending Y coordinate (in source dimensions) | |
| source_width | No | Width of the reference screen for coordinate scaling | |
| source_height | No | Height of the reference screen for coordinate scaling | |
| button | No | Mouse button (1=left, 2=middle, 3=right) | |
| steps | No | Number of intermediate points for smooth dragging | |
| delay_ms | No | Delay between steps in milliseconds |