amiga_do
Run several Amiga UI and shell actions in one ordered call, then return a screenshot, text, or changed region to reduce round trips.
Instructions
Several actions in one call, then one look: saves a round trip per action.
steps is a list of objects with one action each, carried out in order: {"click": [x, y]} (with "button", "double"), {"click_text": "OK"} (with "window"), {"ui_click": "Save"} or {"ui_click": 3, "window": "Prefs"}, {"menu": "Project/Quit"}, {"key": "return"}, {"type": "dir\n"}, {"move": [x, y]}, {"drag": [x1, y1, x2, y2]}, {"wait": 1.5}, {"wait_change": [x, y, w, h], "timeout": 10}, {"wait_window": "Title", "timeout": 10, "new": true}, {"wait_text": "done", "timeout": 20}, {"start": "SYS:Utilities/Clock"}, {"exec": "Info"}, {"screen_front": "Workbench"}. It stops at the first step that fails and says which. look is what comes back at the end: none, text (amiga_screen_text), changed (only the part of the screen that changed) or screen (a screenshot).
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": {
"steps": "<steps>"
},
"name": "amiga_do"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | none | |
| steps | Yes | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |