read_window
Extract live text from console and application windows without screenshots. Monitor progress or output by targeting a window with title_contains or hwnd.
Instructions
Read TEXT from inside a window via UI Automation — no screenshot. Works with consoles (cmd, PowerShell, Windows Terminal), editors, and most native apps. Typical use: read render progress from a console ("frame 4812/5000"). Identify the window by title_contains or hwnd from list_windows.
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": "read_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | Exact window handle from list_windows | |
| max_chars | No | Max characters (default 20000) | |
| title_contains | No | Window title fragment (case-insensitive) |