select_layout
-
Change tmux state; no client-supplied executable input. Apply a named layout, a unique abbreviation for the running tmux version, or a checksummed saved layout; a JSON layout document needs tmux 3.8. Invalid syntax is refused before window lookup; tmux validates geometry when applying the layout.
- MCP request method
tools/callSendselect_layoutas the tool name, with the arguments below.- Wraps
Server.selectLayout(_:_:)The library call this tool makes:Sources/LibTmuxMCP/CapabilityHandlers.swift:595.
Arguments
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Select layout"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
changeobserve
Every Swift 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": "Caller-controlled layout.","type": "string"},"windowId": {"description": "Caller-controlled windowId.","type": "string"}},"required": ["layout","windowId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"layout": {"type": "string"},"windowId": {"type": "string"}},"required": ["layout","windowId"],"type": "object"}