Capture pane output
tmux_capture_paneRead a tmux pane's scrollback to observe command results. Specify optional line offsets to capture the exact output range you need.
Instructions
Read the scrollback of a pane to observe command results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional end line offset. | |
| host | No | SSH host alias (optional). Uses default host if set. | |
| start | No | Optional start line offset (e.g. -200 for last 200 lines). Defaults to -200. | |
| target | No | Pane target (pane id or session:window.pane). If omitted, uses default pane if set. |