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

Replace one or both pane dimensions. Change tmux state; no client-supplied executable input.

All C++ tools · JSON · Source

Arguments

height optional · integer
Optional positive pane height.
paneId required · string
Stable pane ID.
width optional · integer
Optional positive pane width.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"height": {
"description": "Optional positive pane height.",
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"paneId": {
"description": "Stable pane ID.",
"maxLength": 512,
"type": "string"
},
"width": {
"description": "Optional positive pane width.",
"maximum": 100000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"paneId"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Resize a tmux pane"
}
Esc

Type to search.