pipe_pane
-
Log a pane’s live output to a file (or stop an active log).
Streams everything written to the pane (stdout plus terminal control sequences) into a file on disk — the common use is
output_path="/tmp/pane.log"to capture scrollback continuously while the agent watches for errors. Whenoutput_pathis given, starts logging; whenoutput_pathis None, stops any active pipe for the pane.- MCP request method
tools/callSendpipe_paneas the tool name, with the arguments below.
Arguments#
-
Whether to append to the file. Default True. If False, overwrites.
-
output_path? =null(string | null) #File path to write output to. None stops piping.
-
pane_id? =null(string | null) #Pane ID (e.g. ‘%1’).
-
session_id? =null(string | null) #Session ID for pane resolution.
-
session_name? =null(string | null) #Session name for pane resolution.
-
socket_name? =null(string | null) #tmux socket name.
-
window_id? =null(string | null) #Window ID for pane resolution.
No other arguments are accepted.
Result#
Returns object
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"append": {"default": true,"description": "Whether to append to the file. Default True. If False, overwrites.","type": "boolean"},"output_path": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "File path to write output to. None stops piping."},"pane_id": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "Pane ID (e.g. '%1')."},"session_id": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "Session ID for pane resolution."},"session_name": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "Session name for pane resolution."},"socket_name": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "tmux socket name."},"window_id": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "Window ID for pane resolution."}},"type": "object"}Output schema
{"properties": {"result": {"type": "string"}},"required": ["result"],"type": "object","x-fastmcp-wrap-result": true}