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.window_tools.kill_window

libtmux_mcp.tools.window_tools.kill_window ( window_id: str, socket_name: str | None = None ) → str

Kill (close) a tmux window. Requires exact window_id (e.g. '@3').

Description#

Destroys the window and all its panes. Use kill_pane to remove a single pane instead. Self-kill protection prevents killing the window containing this MCP process.

Parameters
Returns

str Confirmation message.

Esc

Type to search.

Reference preview Open reference