# resize_pane

Source: https://libtmux.org/en/cxx/latest/mcp/tools/resize_pane/

> Replace one or both pane dimensions. Change tmux state; no client-supplied executable input.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Replace one or both pane dimensions. Change tmux state; no client-supplied executable input.

[All C++ tools](https://libtmux.org/en/cxx/latest/mcp/tools/) · [JSON](https://libtmux.org/en/cxx/latest/mcp/tools/resize_pane.json) · [Source](https://github.com/libtmux/libtmux-cxx/blob/96f367a6fe247e4e5ebddd4a52ca5d5f9d07c0ec/apps/mcp/src/tool_catalog.cpp#L2383)

## Arguments

* `height` optional · integer

  Optional positive pane height.

* `paneId` required · string

  Stable pane ID.

* `width` optional · integer

  Optional positive pane width.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "height": {
      "description": "Optional positive pane height.",
      "maximum": 100000,
      "minimum": 1,
      "type": "integer"
    },
    "paneId": {
      "description": "Stable pane ID.",
      "maxLength": 512,
      "type": "string"
    },
    "width": {
      "description": "Optional positive pane width.",
      "maximum": 100000,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "paneId"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": true,
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Resize a tmux pane"
}
```
