{
  "name": "list_windows",
  "wireName": "list_windows",
  "source": {
    "repo": "libtmux/libtmux-swift",
    "revision": "63551afeae8ea3d272e5262208b87735888daf5f",
    "extractedRevision": "63551afeae8ea3d272e5262208b87735888daf5f",
    "file": "Sources/LibTmuxMCP/ToolOperation.swift",
    "line": 14
  },
  "description": "Inspect tmux metadata; accepts no client-supplied executable input. List windows, optionally within one session.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "session": {
        "description": "Caller-controlled session.",
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "windows": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "height": {
              "type": "integer"
            },
            "id": {
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "isActive": {
              "type": "boolean"
            },
            "linkRef": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "paneCount": {
              "type": "integer"
            },
            "sessionID": {
              "type": "string"
            },
            "target": {
              "type": "string"
            },
            "width": {
              "type": "integer"
            },
            "windowRef": {
              "type": "string"
            }
          },
          "required": [
            "height",
            "id",
            "index",
            "isActive",
            "linkRef",
            "name",
            "paneCount",
            "sessionID",
            "target",
            "width",
            "windowRef"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "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": "Inspect tmux metadata; accepts no client-supplied executable input. List windows, optionally within one session.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "session": {
            "description": "Caller-controlled session.",
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "list_windows",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "windows": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "height": {
                  "type": "integer"
                },
                "id": {
                  "type": "string"
                },
                "index": {
                  "type": "integer"
                },
                "isActive": {
                  "type": "boolean"
                },
                "linkRef": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "paneCount": {
                  "type": "integer"
                },
                "sessionID": {
                  "type": "string"
                },
                "target": {
                  "type": "string"
                },
                "width": {
                  "type": "integer"
                },
                "windowRef": {
                  "type": "string"
                }
              },
              "required": [
                "height",
                "id",
                "index",
                "isActive",
                "linkRef",
                "name",
                "paneCount",
                "sessionID",
                "target",
                "width",
                "windowRef"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "windows"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "List windows",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
