Read Pane Output
pane_readRead terminal text from any shell or process pane to inspect agent output, control line count and source, or keep raw and ANSI data.
Instructions
Read terminal text from any shell or process pane.
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_id": "<pane_id>"
},
"name": "pane_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Read raw output stream. | |
| ansi | No | Keep ANSI color/style escape sequences. | |
| lines | No | Number of lines to read (default 120). | |
| source | No | Snapshot source (default 'recent-unwrapped'). | |
| pane_id | Yes | Target pane ID (for example 'w1:p1'). |