# pane content

Source: https://libtmux.org/en/go/latest/mcp/resources/templates/pane-content/

> pane content: The visible screen of one pane, as capture_pane returns it. Subscribable on tmux 3.7 and newer; terminal output, so it may hold secrets and…

**Concept example** A working example of the core library. It can change without notice. [What concept means](https://libtmux.org/en/meta/support/#concept-and-alpha)

* `tmux://panes/{pane_id}/content`

  resource template

  The visible screen of one pane, as [capture_pane](https://libtmux.org/en/go/latest/mcp/tools/capture_pane/) returns it. Subscribable on tmux 3.7 and newer; terminal output, so it may hold secrets and untrusted text.

  * MCP request method

    `resources/read` Send the resource URI shown above.

  * MIME type

    `text/plain`

  ## URI parameters

  * **[`pane_id`](https://libtmux.org/en/go/latest/mcp/resources/templates/pane-content/#mcp.resource-template.tmux%3A%2F%2Fpanes%2F%7Bpane_id%7D%2Fcontent.parameter.pane_id)**

    * Binding

      URI variable

  ## Result

  Returns resource contents for the requested URI with MIME type `text/plain`.

  ## Protocol data

  Use the complete advertised contract for validation and client integration.

  Registration

  ```json
  {
    "description": "The visible screen of one pane, as capture_pane returns it. Subscribable on tmux 3.7 and newer; terminal output, so it may hold secrets and untrusted text.",
    "mimeType": "text/plain",
    "name": "pane content",
    "uriTemplate": "tmux://panes/{pane_id}/content"
  }
  ```

Source revision: [libtmux/libtmux-go@a11c2d5b512261d74a43aa58d41fdc069f343bb8](https://github.com/libtmux/libtmux-go/tree/a11c2d5b512261d74a43aa58d41fdc069f343bb8).
