{
  "name": "get_window_info",
  "wireName": "get_window_info",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 574
  },
  "description": "Inspect tmux metadata; accepts no client-supplied executable input. Read one window's name, index, size, layout, pane count and whether it is its session's current window, without listing every window. Give the window ID, or a pane ID to read the window that holds it.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "windowId": {
        "description": "A window id.",
        "type": "string"
      }
    },
    "required": [
      "windowId"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "active": {
        "type": "boolean"
      },
      "height": {
        "type": "integer"
      },
      "index": {
        "type": "integer"
      },
      "layout": {
        "type": [
          "string",
          "null"
        ]
      },
      "name": {
        "type": "string"
      },
      "paneCount": {
        "type": [
          "integer",
          "null"
        ]
      },
      "sessionId": {
        "type": "string"
      },
      "width": {
        "type": "integer"
      },
      "windowId": {
        "type": "string"
      }
    },
    "required": [
      "windowId",
      "sessionId",
      "index",
      "name",
      "width",
      "height",
      "active",
      "paneCount",
      "layout"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Get window info"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "name": "get_window_info",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
