agent_read
Reads recent output from a tmux or Claude background session to inspect agent progress; set wait_idle to block until output stabilizes.
Instructions
Read the recent output of a session. For a tmux session this is the screen with TUI chrome stripped; for a Claude background session it is that session's log. Pass wait_idle: true to block until the agent stops producing output first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many recent lines (default 120) | |
| session | Yes | Session id or name | |
| wait_idle | No | Wait for output to stop changing before reading | |
| idle_timeout_ms | No | Max wait when wait_idle is set (default 600000) |