{
  "name": "capture_pane",
  "wireName": "capture_pane",
  "source": {
    "repo": "libtmux/libtmux-cxx",
    "revision": "393d4b0ad666f18a6581f1eb281741a75a7503f0",
    "extractedRevision": "4665d2b15f76200c1caa65978d79e595541f7a90",
    "file": "apps/mcp/src/tool_catalog.cpp",
    "line": 1809
  },
  "description": "Return visible text, or retained history when requested. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "history": {
        "description": "Capture retained history as well as the visible pane.",
        "type": "boolean"
      },
      "paneId": {
        "description": "Stable pane ID.",
        "maxLength": 512,
        "type": "string"
      }
    },
    "required": [
      "paneId"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "pane_id": {
        "pattern": "^%[0-9]+$",
        "type": "string"
      },
      "text": {
        "type": "string"
      }
    },
    "required": [
      "pane_id",
      "text"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Capture a tmux pane"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata",
        "terminal-content"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
