tmux_read
Retrieve recent terminal output from a tmux pane to prepare context before typing or sending keys.
Instructions
Read the last N lines from a tmux pane. Must be called before type/keys (read guard). Target can be a pane ID (%N), session:window.pane, or a label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of lines to read (default 50) | |
| target | Yes | Pane target: ID (%0), session:win.pane, or label |