Drag on the Linux desktop
drag_pointerDrag a mouse button from one absolute screen coordinate to another to perform drag-and-drop actions in Linux desktop applications.
Instructions
Drag a mouse button between two absolute coordinates from the latest screenshot.
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": "drag_pointer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_x | Yes | ||
| end_y | Yes | ||
| button | No | left | |
| start_x | Yes | ||
| start_y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| action | Yes | ||
| backend | Yes | ||
| message | Yes |