# resize_pane

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

> Change tmux state; no client-supplied executable input. Sets a pane's width, height, or both.

MCP is in development

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

Change tmux state; no client-supplied executable input. Sets a pane’s width, height, or both.

[All Go tools](https://libtmux.org/en/go/latest/mcp/tools/) · [JSON](https://libtmux.org/en/go/latest/mcp/tools/resize_pane.json) · [Source](https://github.com/libtmux/libtmux-go/blob/aaf86678fe0cbdf56f9e1c9c46b0db0704e15656/mcp/manifest_catalog.go#L372)

## Arguments

* `height` optional · integer

  height in terminal cells; omit to retain it

* `pane_id` required · string

  the pane id, such as %1

* `width` optional · integer

  width in terminal cells; omit to retain it

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "height": {
      "description": "height in terminal cells; omit to retain it",
      "type": "integer"
    },
    "pane_id": {
      "description": "the pane id, such as %1",
      "type": "string"
    },
    "width": {
      "description": "width in terminal cells; omit to retain it",
      "type": "integer"
    }
  },
  "required": [
    "pane_id"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "height": {
      "type": "integer"
    },
    "paneId": {
      "type": "string"
    },
    "width": {
      "type": "integer"
    }
  },
  "required": [
    "paneId",
    "width",
    "height"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "openWorldHint": true,
  "title": "Resize a pane"
}
```
