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.

resize_pane

Change tmux state; no client-supplied executable input. Resize one pane by dimensions or a directional amount.

All Swift tools · JSON · Source

Arguments

amount optional · integer
Caller-controlled amount.
direction optional · string
Caller-controlled direction.
height optional · integer
Caller-controlled height.
paneId required · string
Caller-controlled paneId.
width optional · integer
Caller-controlled width.
zoom optional · boolean
Caller-controlled zoom.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Caller-controlled amount.",
"minimum": 1,
"type": "integer"
},
"direction": {
"description": "Caller-controlled direction.",
"enum": [
"up",
"down",
"left",
"right"
],
"type": "string"
},
"height": {
"description": "Caller-controlled height.",
"minimum": 1,
"type": "integer"
},
"paneId": {
"description": "Caller-controlled paneId.",
"type": "string"
},
"width": {
"description": "Caller-controlled width.",
"minimum": 1,
"type": "integer"
},
"zoom": {
"description": "Caller-controlled zoom.",
"type": "boolean"
}
},
"required": [
"paneId"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"paneId": {
"type": "string"
}
},
"required": [
"paneId"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Resize pane"
}
Esc

Type to search.