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. Sets a pane’s width, height, or both.

All Go tools · JSON · Source

Arguments

height optional · integer
height in terminal cells; omit to retain it
pane_id required · string
the pane id, such as %1
width optional · integer
width in terminal cells; omit to retain it

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"height": {
"description": "height in terminal cells; omit to retain it",
"type": "integer"
},
"pane_id": {
"description": "the pane id, such as %1",
"type": "string"
},
"width": {
"description": "width in terminal cells; omit to retain it",
"type": "integer"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"height": {
"type": "integer"
},
"paneId": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"paneId",
"width",
"height"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Resize a pane"
}
Esc

Type to search.