tmux_read_pane
Read and capture text from any tmux pane, including visible content or historical buffer lines, with options to limit line count or specify a start line for targeted retrieval.
Instructions
Read/capture content from a tmux pane.
Args: target: Tmux target (e.g. "session:window.pane"). line_count: Number of lines to capture. If omitted, captures entire visible pane. start_line: Start line for history capture (negative = lines before visible area, e.g. -100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| line_count | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |