{
  "name": "move_window",
  "wireName": "move_window",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 595
  },
  "description": "Change tmux state; no client-supplied executable input. Move a window to another index, or into another session. With replaceExisting it takes an index that is already occupied by killing the window there, which needs the teardown toolset.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "destination": {
        "default": "",
        "description": "The destination window index. Omit for the next free index, as an empty one does.",
        "type": "string"
      },
      "replaceExisting": {
        "default": false,
        "description": "Kill the window already at that index and take its place. Needs the same authority as kill_window, because that is what it does to it.",
        "type": "boolean"
      },
      "session": {
        "default": null,
        "description": "The destination session id or name. Omit to stay in the window's session.",
        "type": [
          "string",
          "null"
        ]
      },
      "windowId": {
        "description": "The window id to move.",
        "type": "string"
      }
    },
    "required": [
      "windowId"
    ],
    "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": "Move window"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "name": "move_window",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "change",
        "observe"
      ],
      "toolset": "manage"
    }
  }
}
