resize_window
Sets a window’s width, height or both. Change tmux state; no client-supplied executable input.
All Java tools · JSON · Source
Arguments
heightoptional · integer- Height in terminal cells; omit to retain it. Defaults to 0.
Default:
0. widthoptional · integer- Width in terminal cells; omit to retain it. Defaults to 0.
Default:
0. 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": { "default": 0, "description": "Height in terminal cells; omit to retain it. Defaults to 0.", "type": "integer" }, "width": { "default": 0, "description": "Width in terminal cells; omit to retain it. Defaults to 0.", "type": "integer" }, "window_id": { "description": "The window ID, such as @1.", "type": "string" } }, "required": [ "window_id" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "id": { "type": "string" }, "index": { "type": "integer" }, "name": { "type": "string" }, "panes": { "type": "integer" }, "session_id": { "type": "string" }, "size": { "type": "string" } }, "required": [ "id", "index", "name", "session_id", "active", "panes", "size" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Resize a window"}