capture_pane
-
Return visible text, or retained history when requested. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.
- MCP request method
tools/callSendcapture_paneas the tool name, with the arguments below.
Arguments#
-
Capture retained history as well as the visible pane.
-
Stable pane ID.
- maxLength
512
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Capture a tmux pane"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"history": {"description": "Capture retained history as well as the visible pane.","type": "boolean"},"paneId": {"description": "Stable pane ID.","maxLength": 512,"type": "string"}},"required": ["paneId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"pane_id": {"pattern": "^%[0-9]+$","type": "string"},"text": {"type": "string"}},"required": ["pane_id","text"],"type": "object"}