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_window

Replace one window’s dimensions. Change tmux state; no client-supplied executable input.

All C++ tools · JSON · Source

Arguments

height required · integer
Positive window height.
width required · integer
Positive window width.
windowId required · string
Stable window ID.

Schemas

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

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

Type to search.