resize_pane
Move one edge of a pane by a number of rows or columns. Change tmux state; no client-supplied executable input.
All Rust tools · JSON · Source
Arguments
cellsrequired · integer- How many rows or columns to move it by.
directionrequired- Which edge to move: `up`, `down`, `left`, or `right`.
panerequired · string- The `%`-prefixed pane id.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "$defs": { "ResizeDirectionSchema": { "enum": [ "up", "down", "left", "right" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "cells": { "description": "How many rows or columns to move it by.", "minimum": 0, "type": "integer" }, "direction": { "$ref": "#/$defs/ResizeDirectionSchema", "description": "Which edge to move: `up`, `down`, `left`, or `right`." }, "pane": { "description": "The `%`-prefixed pane id.", "type": "string" } }, "required": [ "pane", "direction", "cells" ], "type": "object"}Output schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "height": { "description": "How tall it is now, in rows.", "minimum": 0, "type": "integer" }, "pane": { "description": "The pane that was resized.", "type": "string" }, "width": { "description": "How wide it is now, in columns.", "minimum": 0, "type": "integer" } }, "required": [ "pane", "width", "height" ], "type": "object"}Tool annotations
{ "destructiveHint": false, "idempotentHint": false, "openWorldHint": false, "readOnlyHint": false, "title": "Resize Pane"}