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.session_tools.kill_session

libtmux_mcp.tools.session_tools.kill_session ( session_name: str | None = None, session_id: str | None = None, socket_name: str | None = None, ) → str

Kill a tmux session.

Description#

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

Parameters
Returns

str Confirmation message.

Esc

Type to search.

Reference preview Open reference