select_layout
-
Applies a named tmux layout, a unique abbreviation or a checksummed saved layout. Names follow the running daemon’s version; mirrored main layouts require tmux 3.5. JSON layouts need tmux 3.8; a server below 3.8 refuses one before select-layout is sent. A version probe may run first. Malformed syntax is refused before window lookup; tmux validates geometry. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendselect_layoutas the tool name, with the arguments below.
Arguments
-
A built-in name, unique abbreviation or saved tmux layout. Existing enum-style names are also accepted.
-
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 Java 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 built-in name, unique abbreviation or saved tmux layout. Existing enum-style names are also accepted.","type": "string"},"window_id": {"description": "The window ID, such as @1.","type": "string"}},"required": ["window_id","layout"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"id": {"type": "string"},"kind": {"type": "string"},"note": {"type": "string"},"what": {"type": "string"}},"required": ["kind","id","what"],"type": "object"}