Read pane output
cmux_captureRead the current terminal screen or scrollback history to inspect output; pass workspace and window refs to capture a surface in another workspace.
Instructions
Read the current screen or scrollback of a terminal surface. Pass workspace/window for a surface in another workspace.
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": "cmux_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Limit to the last N lines. | |
| window | No | Window ref like "window:1". Defaults to the caller's window. | |
| surface | No | Surface ref like "surface:40". Defaults to the current pane. | |
| workspace | No | Workspace ref like "workspace:26". Defaults to the caller's workspace. | |
| scrollback | No | Include scrollback history. |