select_layout
-
Change tmux state; no client-supplied executable input. Applies a named layout, a unique abbreviation for the running tmux version, or a saved layout from get_window_info. Invalid syntax is rejected before window lookup; tmux validates geometry when applying the layout.
- MCP request method
tools/callSendselect_layoutas the tool name, with the arguments below.- Wraps
tmux.Window.SelectLayoutThe library call this tool makes:mcp/layout_tools.go:153.
Arguments
-
a named layout, a unique abbreviation for the running tmux version, or a saved layout from get_window_info
-
the window id, such as @1
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Select a layout"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
observechange
Every Go tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"layout": {"description": "a named layout, a unique abbreviation for the running tmux version, or a saved layout from get_window_info","type": "string"},"window_id": {"description": "the window id, such as @1","type": "string"}},"required": ["window_id","layout"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"layout": {"type": "string"},"windowId": {"type": "string"}},"required": ["windowId","layout"],"type": "object"}