{
  "name": "list_sessions",
  "wireName": "list_sessions",
  "source": {
    "repo": "libtmux/libtmux-java",
    "revision": "842228310449e879ebcaa3f910597757c9dbffd6",
    "extractedRevision": "a960145afeefb340d85ea76ea0d62c29517b1c85",
    "file": "libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java",
    "line": 166
  },
  "description": "Lists sessions on the pinned tmux server. Inspect tmux metadata; accepts no client-supplied executable input.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {},
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "type": "integer"
      },
      "note": {
        "type": "string"
      },
      "sessions": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "attached": {
              "type": "boolean"
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "window_names": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "windows": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "name",
            "attached",
            "windows",
            "window_names"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "count",
      "sessions"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "List sessions"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Lists sessions on the pinned tmux server. Inspect tmux metadata; accepts no client-supplied executable input.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "list_sessions",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "sessions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "attached": {
                  "type": "boolean"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "window_names": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "windows": {
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "name",
                "attached",
                "windows",
                "window_names"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "count",
          "sessions"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "List sessions",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
