tmux_capture_pane
Capture the visible text from a tmux pane to retrieve its current output. Use session ID, line ranges, and ANSI options to control captured content.
Instructions
Capture the current pane contents as text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ansi | No | Include escape sequences (tmux -e). | |
| join | No | Join wrapped lines (tmux -J). | |
| end_line | No | End line for capture (-E). Negative values count from bottom. | |
| alternate | No | Capture alternate screen (-a). Default false. | |
| session_id | Yes | ||
| start_line | No | Start line for capture (-S). Negative values count from bottom. | |
| strip_ansi | No | Strip ANSI/VT100 sequences from returned text. |