{
  "name": "capture_pane",
  "wireName": "capture_pane",
  "source": {
    "repo": "libtmux/libtmux-java",
    "revision": "842228310449e879ebcaa3f910597757c9dbffd6",
    "extractedRevision": "a960145afeefb340d85ea76ea0d62c29517b1c85",
    "file": "libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java",
    "line": 258
  },
  "description": "Returns bounded pane content and a cursor. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "history": {
        "default": false,
        "description": "Include scrollback rather than only the visible screen. Defaults to false.",
        "type": "boolean"
      },
      "max_lines": {
        "default": 200,
        "description": "Maximum lines, keeping the newest. Defaults to 200.",
        "type": "integer"
      },
      "pane_id": {
        "description": "The pane to act on, such as %1. Every listing tool returns these.",
        "type": "string"
      }
    },
    "required": [
      "pane_id"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "content": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "cursor": {
        "type": "string"
      },
      "lines": {
        "type": "integer"
      },
      "lines_dropped": {
        "type": "integer"
      },
      "note": {
        "type": "string"
      },
      "pane_id": {
        "type": "string"
      },
      "truncated": {
        "type": "boolean"
      }
    },
    "required": [
      "pane_id",
      "lines",
      "content",
      "truncated",
      "lines_dropped",
      "cursor"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Capture a pane"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Returns bounded pane content and a cursor. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "history": {
            "default": false,
            "description": "Include scrollback rather than only the visible screen. Defaults to false.",
            "type": "boolean"
          },
          "max_lines": {
            "default": 200,
            "description": "Maximum lines, keeping the newest. Defaults to 200.",
            "type": "integer"
          },
          "pane_id": {
            "description": "The pane to act on, such as %1. Every listing tool returns these.",
            "type": "string"
          }
        },
        "required": [
          "pane_id"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "capture_pane",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata",
        "terminal-content"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "content": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "cursor": {
            "type": "string"
          },
          "lines": {
            "type": "integer"
          },
          "lines_dropped": {
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "pane_id": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "pane_id",
          "lines",
          "content",
          "truncated",
          "lines_dropped",
          "cursor"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "Capture a pane",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
