pane_read
Retrieve the last lines of a tmux pane, including scrollback, to inspect recent output. Optionally include ANSI escape codes for raw formatting.
Instructions
Read the last lines lines of a pane (scrollback included).
pane is a pane id (%3), a target (session:0.1) or a pane title (partial,
case-insensitive). raw=true keeps ANSI escape codes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pane": "<pane>"
},
"name": "pane_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| pane | Yes | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |