amiga_drag
Press at one screen point and release at another to drag Amiga icons, move or size windows, and pick menu items, with relative movement for programs that track the mouse.
Instructions
Press at one point and release at another: drag icons, move and size windows by their drag bar and size gadget, or pick menu items.
By default the way goes as mouse movement in small steps with the button held, as a hand does: window drag bars and size gadgets follow only that. relative=True uses nothing else, for programs that follow the mouse themselves and ignore where the pointer is put (ProTracker 4's window, many games); relative=False puts the pointer at the end in one jump.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
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": "amiga_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| button | No | left | |
| machine | No | ||
| relative | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |