libtmux_mcp.tools.pane_tools.pipe_pane
-
Log a pane's live output to a file (or stop an active log).
Description#
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.- Parameters
-
-
output_path(str | None) # – File path to write output to. None stops piping. -
append(bool) # – Whether to append to the file. Default True. If False, overwrites. -
session_name(str | None) # – Session name for pane resolution. -
session_id(str | None) # – Session ID for pane resolution. -
socket_name(str | None) # – tmux socket name.
- Returns
-
str Confirmation message.