{
  "name": "list_windows",
  "wireName": "list_windows",
  "source": {
    "repo": "libtmux/libtmux-java",
    "revision": "f56392b5d9bc7f1f9c1631842333fb90f3d82d40",
    "extractedRevision": "f56392b5d9bc7f1f9c1631842333fb90f3d82d40",
    "file": "libtmux-mcp/src/main/java/io/github/libtmux/mcp/InspectTools.java",
    "line": 53
  },
  "description": "Lists windows, optionally only those in one session, named by ID or by name. Inspect tmux metadata; accepts no client-supplied executable input.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "session_id": {
        "description": "Only windows in this session, such as $1.",
        "type": "string"
      },
      "session_name": {
        "description": "Only windows in the session with this exact name.",
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "type": "integer"
      },
      "note": {
        "type": "string"
      },
      "windows": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "id": {
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "panes": {
              "type": "integer"
            },
            "session": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "index",
            "name",
            "session",
            "active",
            "panes"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "count",
      "windows"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "List windows"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Lists windows, optionally only those in one session, named by ID or by name. Inspect tmux metadata; accepts no client-supplied executable input.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "description": "Only windows in this session, such as $1.",
            "type": "string"
          },
          "session_name": {
            "description": "Only windows in the session with this exact name.",
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "list_windows",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "windows": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "active": {
                  "type": "boolean"
                },
                "id": {
                  "type": "string"
                },
                "index": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "panes": {
                  "type": "integer"
                },
                "session": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "index",
                "name",
                "session",
                "active",
                "panes"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "count",
          "windows"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "List windows",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
