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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tmux_capture_pane"
}
}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. |