MCPpre-alphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

libtmux_mcp.tools.pane_tools.clear_pane

libtmux_mcp.tools.pane_tools.clear_pane ( pane_id: str | None = None, session_name: str | None = None, session_id: str | None = None, window_id: str | None = None, socket_name: str | None = None, ) → str

Clear the contents of a tmux pane.

Description#

Use before a fresh run_command call or raw-input observation workflow when prior scrollback would make the result harder to inspect.

Parameters
Returns

str Confirmation message.

Esc

Type to search.

Reference previewOpen reference