{
  "name": "resize_pane",
  "wireName": "resize_pane",
  "source": {
    "repo": "libtmux/libtmux-rs",
    "revision": "2cef1aa642182dd1970c3688feb6a568ff666e64",
    "extractedRevision": "2cef1aa642182dd1970c3688feb6a568ff666e64",
    "file": "crates/tmux-mcp/src/tools/control.rs",
    "line": 319
  },
  "description": "Move one edge of a pane by a number of rows or columns. Change tmux state; no client-supplied executable input.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "$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"
  },
  "outputSchema": {
    "$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"
  },
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": false,
    "openWorldHint": false,
    "readOnlyHint": false,
    "title": "Resize Pane"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "change"
      ],
      "toolset": "manage"
    }
  }
}
