{
  "name": "list_windows",
  "wireName": "list_windows",
  "source": {
    "repo": "libtmux/libtmux-cxx",
    "revision": "96f367a6fe247e4e5ebddd4a52ca5d5f9d07c0ec",
    "extractedRevision": "96f367a6fe247e4e5ebddd4a52ca5d5f9d07c0ec",
    "file": "apps/mcp/src/tool_catalog.cpp",
    "line": 1708
  },
  "description": "List windows through an exact owning session. Inspect tmux metadata; accepts no client-supplied executable input.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "session": {
        "description": "Stable session ID or name.",
        "maxLength": 512,
        "type": "string"
      }
    },
    "required": [
      "session"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "windows": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "height": {
              "minimum": 0,
              "type": "integer"
            },
            "id": {
              "pattern": "^@[0-9]+$",
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "layout": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "pane_count": {
              "minimum": 0,
              "type": "integer"
            },
            "session_id": {
              "pattern": "^\\$[0-9]+$",
              "type": "string"
            },
            "width": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "active",
            "height",
            "id",
            "index",
            "layout",
            "name",
            "pane_count",
            "session_id",
            "width"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "windows"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "List tmux windows"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
