{
  "name": "swap_pane",
  "wireName": "swap_pane",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 596
  },
  "description": "Change tmux state; no client-supplied executable input. Swap two panes' positions; each keeps its program, its content and its ID.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "detach": {
        "default": false,
        "description": "Leave the swapped pane unselected.",
        "type": "boolean"
      },
      "keepZoom": {
        "default": false,
        "description": "Keep zoom state.",
        "type": "boolean"
      },
      "paneId": {
        "description": "The pane id to swap.",
        "type": "string"
      },
      "targetPaneId": {
        "description": "The other pane id.",
        "type": "string"
      }
    },
    "required": [
      "paneId",
      "targetPaneId"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "changed": {
        "type": "string"
      },
      "paneId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "sessionId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "windowId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "changed"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Swap pane"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "name": "swap_pane",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "change",
        "observe"
      ],
      "toolset": "manage"
    }
  }
}
