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

libtmux_mcp.tools.window_tools.select_layout ( layout: str, window_id: str | None = None, window_index: str | None = None, session_name: str | None = None, session_id: str | None = None, socket_name: str | None = None, ) → WindowInfo

Set the layout of a tmux window.

Description#

Choose from: even-horizontal, even-vertical, main-horizontal, main-vertical, or tiled. Rearranges all panes in the window.

Parameters
Returns

WindowInfo Serialized window object.

Esc

Type to search.

Reference previewOpen reference