amiga_ui_tree
Inspect Amiga windows and gadgets as labeled text, boxes, and numbered click targets, with optional pictures for unreadable controls. Query a background screen without bringing it forward.
Instructions
The front screen's windows and gadgets as text, with labels, boxes and numbers.
screen_id (a handle from amiga_screens or part of a title) looks at a screen behind the front one without bringing it forward; pictures only come from the front screen.
Labels come from classic Intuition gadgets and GadTools checkboxes, strings and sliders. Gadgets whose label can't be read (GadTools buttons, BOOPSI, ReAction, MUI, requesters patched by tools like ReqAttack) come with a picture: each one cut out of the screen next to its #number, so you can read what it says and click it with amiga_ui_click(number=..., window=...). Only the active window's gadgets get pictures.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine | No | ||
| pictures | No | ||
| screen_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |