# tmux_screen

Source: https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/

> Capture an exact pane through tmux_capture with its default byte/line bounds, without cursor tracking. Percent-encode pane IDs. Invalid UTF-8 is an application/octet-stream blob; _meta includes capture interval, truncation and unknown history continuity.

resource templateMCPlatest

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

* `tmux://{endpoint}/{generation}/panes/{pane_id}/screen`

  resource template[¶](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen)

  Capture an exact pane through [tmux_capture](https://libtmux.org/en/ruby/latest/mcp/tools/tmux_capture/) with its default byte/line bounds, without cursor tracking. Percent-encode pane IDs. Invalid UTF-8 is an application/octet-stream blob; \_meta includes capture interval, truncation and unknown history continuity.

  * MCP request method

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

  * MIME type

    `text/plain`

  ## URI parameters[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.parameters)

  * `endpoint`[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.parameter.endpoint)

    * Binding

      URI variable

  * `generation`[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.parameter.generation)

    * Binding

      URI variable

  * `pane_id`[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.parameter.pane_id)

    * Binding

      URI variable

  ## Result[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.result)

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

  ## Protocol data[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_screen/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fpanes%2F%7Bpane_id%7D%2Fscreen.schemas)

  Use the complete advertised contract for validation and client integration.

  Registration

  ```json
  {
    "description": "Capture an exact pane through tmux_capture with its default byte/line bounds, without cursor tracking. Percent-encode pane IDs. Invalid UTF-8 is an application/octet-stream blob; _meta includes capture interval, truncation and unknown history continuity.",
    "mimeType": "text/plain",
    "name": "tmux_screen",
    "uriTemplate": "tmux://{endpoint}/{generation}/panes/{pane_id}/screen"
  }
  ```

Source revision: [libtmux/libtmux-ruby@0e6b860a5da7f6fd93226413e8f44053552160f4](https://github.com/libtmux/libtmux-ruby/tree/0e6b860a5da7f6fd93226413e8f44053552160f4).
