terminal_screen
Return the rendered console screen and cursor position for a live shell session to show the current prompt, TUI, colors, and text as a human sees them.
Instructions
Return the rendered terminal screen (VT emulation) with cursor position.
This is the clean view: cursor moves, erases and color codes are applied, so it shows exactly what a human would see, including the current prompt or TUI.
Args: session_id: Session returned by terminal_start. max_chars: Maximum characters returned (head+tail with an omission marker).
Returns: text, cursor {x,y}, cols, rows, running, exit_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| session_id | Yes |