{
  "name": "list_sessions",
  "wireName": "list_sessions",
  "source": {
    "repo": "libtmux/libtmux-cxx",
    "revision": "393d4b0ad666f18a6581f1eb281741a75a7503f0",
    "extractedRevision": "4665d2b15f76200c1caa65978d79e595541f7a90",
    "file": "apps/mcp/src/tool_catalog.cpp",
    "line": 1672
  },
  "description": "List stable session IDs, names, paths, and client counts. Inspect tmux metadata; accepts no client-supplied executable input.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {},
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "sessions": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "attached": {
              "type": "boolean"
            },
            "client_count": {
              "minimum": 0,
              "type": "integer"
            },
            "id": {
              "pattern": "^\\$[0-9]+$",
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "path": {
              "type": "string"
            },
            "window_count": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "attached",
            "client_count",
            "id",
            "name",
            "path",
            "window_count"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "sessions"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "List tmux sessions"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
