MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux_mcp.tools.pane_tools.pipe_pane

libtmux_mcp.tools.pane_tools.pipe_pane ( pane_id: str | None = None, output_path: str | None = None, append: bool = True, session_name: str | None = None, session_id: str | None = None, window_id: str | None = None, socket_name: str | None = None, ) → str

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. When output_path is given, starts logging; when output_path is None, stops any active pipe for the pane.

Parameters
Returns

str Confirmation message.

Esc

Type to search.

Reference preview Open reference