select_layout
Change tmux state; no client-supplied executable input. Arrange a window’s panes with a named layout — even-horizontal, even-vertical, main-horizontal, main-vertical, tiled — or a layout string read from list_windows.
All C# tools · JSON · Source
Arguments
layoutoptional · string | null- A supported layout name or layout string. Omit to reapply the window's last preset layout, if it has had one.
Default:
null. windowIdoptional · string | null- A window id. Omit for this server's own window, or else the one the first session shows.
Default:
null.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "layout": { "default": null, "description": "A supported layout name or layout string. Omit to reapply the window's last preset layout, if it has had one.", "type": [ "string", "null" ] }, "windowId": { "default": null, "description": "A window id. Omit for this server's own window, or else the one the first session shows.", "type": [ "string", "null" ] } }, "type": "object"}Output schema
{ "properties": { "changed": { "type": "string" }, "paneId": { "default": null, "type": [ "string", "null" ] }, "sessionId": { "default": null, "type": [ "string", "null" ] }, "windowId": { "default": null, "type": [ "string", "null" ] } }, "required": [ "changed" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Select layout"}