amiga_screen_text
Read text from an Amiga screen window by window, with screen-pixel positions for clicking. Use it instead of screenshots for shell output, requesters, lists, and status lines.
Instructions
The text on the front screen, window by window, with positions: cheap, no picture.
Use it first when you need information: Shell output, a requester's message, a list, a status line, whether something finished. It costs a few hundred bytes where a screenshot costs kilobytes. Take amiga_screenshot instead (or afterwards) for layout, graphics, icons, colours, games, and whenever this reports no text or a note says text is missing: buttons drawn as pictures, windows that were open before amigentd started, or programs that draw text their own way. window picks a window by part of its title or its id; find keeps rows containing that text; x/y/width/height keep rows in that region. Rows covered by a window in front are left out unless hidden=True. Positions are screen pixels, ready for amiga_click.
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_screen_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| find | No | ||
| width | No | ||
| height | No | ||
| hidden | No | ||
| window | No | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |