MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

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. Invalid syntax is refused before window lookup; tmux validates geometry when applying the layout.

All Swift tools · JSON · Source

Arguments

layout required · string
Caller-controlled layout.
windowId required · string
Caller-controlled windowId.

Schemas

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

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"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Select layout"
}
Esc

Type to search.