amiga_wait_window
Waits on the Amiga until a window matching a title opens or closes, optionally only for new windows, so agents can pause for programs, requesters, or dialog completion.
Instructions
Wait on the Amiga itself until a window with this title opens (or closes, gone=True).
title is part of the title, or an AmigaDOS pattern. With new=True only a window that was not open yet counts, e.g. a second requester; right after amiga_start, one that was not open before the start. The Amiga looks ten times a second and the line stays quiet meanwhile, so this is the cheap way to wait for a program, a requester or the end of a dialog.
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": {
"title": "<title>"
},
"name": "amiga_wait_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | No | ||
| gone | No | ||
| title | Yes | ||
| machine | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |