{
  "name": "kill_window",
  "wireName": "kill_window",
  "source": {
    "repo": "tmux-python/libtmux-mcp",
    "revision": "4daddc0dfca96c43bf521d818bf91564e1434760",
    "extractedRevision": "4daddc0dfca96c43bf521d818bf91564e1434760",
    "file": "src/libtmux_mcp/tools/window_tools.py",
    "line": 522
  },
  "description": "Kill (close) a tmux window. Requires exact window_id (e.g. '@3').\n\nDestroys the window and all its panes. Use kill_pane to remove a single\npane instead. Self-kill protection prevents killing the window containing\nthis MCP process.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "socket_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "tmux socket name."
      },
      "window_id": {
        "description": "Window ID (e.g. '@1'). Required — no fallback resolution.",
        "type": "string"
      }
    },
    "required": [
      "window_id"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "result": {
        "type": "string"
      }
    },
    "required": [
      "result"
    ],
    "type": "object",
    "x-fastmcp-wrap-result": true
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false
  },
  "meta": {
    "fastmcp": {
      "tags": [
        "teardown"
      ]
    }
  }
}
