# select_layout

Source: https://libtmux.org/en/go/latest/mcp/tools/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 is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

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](https://libtmux.org/en/go/latest/mcp/tools/get_window_info/). Invalid syntax is rejected before window lookup; tmux validates geometry when applying the layout.

[All Go tools](https://libtmux.org/en/go/latest/mcp/tools/) · [JSON](https://libtmux.org/en/go/latest/mcp/tools/select_layout.json) · [Source](https://github.com/libtmux/libtmux-go/blob/aaf86678fe0cbdf56f9e1c9c46b0db0704e15656/mcp/manifest_catalog.go#L357)

## Arguments

* `layout` required · string

  a named layout, a unique abbreviation for the running tmux version, or a saved layout from get_window_info

* `window_id` required · string

  the window id, such as @1

## Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema

```json
{
  "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

```json
{
  "additionalProperties": false,
  "properties": {
    "layout": {
      "type": "string"
    },
    "windowId": {
      "type": "string"
    }
  },
  "required": [
    "windowId",
    "layout"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "openWorldHint": true,
  "title": "Select a layout"
}
```
