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.kill_pane

libtmux_mcp.tools.pane_tools.kill_pane ( pane_id: str, socket_name: str | None = None ) → str

Kill (close) a tmux pane. Requires exact pane_id (e.g. '%5').

Description#

Use to clean up panes no longer needed. To remove an entire window and all its panes, use kill_window instead.

Parameters
Returns

str Confirmation message.

Esc

Type to search.

Reference preview Open reference