pane_read
Read terminal output from a pane to capture logs or the visible viewport. Retrieve recent output with soft wraps joined, or read the rendered screen for current state.
Instructions
Read terminal output from a pane. recent-unwrapped joins soft wraps and suits logs; visible is the rendered viewport.
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 |
|---|---|---|---|
| ansi | No | ||
| lines | No | ||
| source | No | recent-unwrapped | |
| pane_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||