resize_window
Change tmux state; no client-supplied executable input. Sets a window’s width, height, or both.
All Go tools · JSON · Source
Arguments
heightoptional · integer- height in terminal cells; omit to retain it
widthoptional · integer- width in terminal cells; omit to retain it
window_idrequired · string- the window id, such as @1
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" }, "width": { "description": "width in terminal cells; omit to retain it", "type": "integer" }, "window_id": { "description": "the window id, such as @1", "type": "string" } }, "required": [ "window_id" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "height": { "type": "integer" }, "width": { "type": "integer" }, "windowId": { "type": "string" } }, "required": [ "windowId", "width", "height" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "openWorldHint": true, "title": "Resize a window"}