# tmux_metadata

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

> Acquire metadata through tmux_snapshot with its default page limit. Encode every URI component; generation must match discovery. Reports capture interval and truncation.

resource templateMCPlatest

MCP is in development

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

* `tmux://{endpoint}/{generation}/snapshots/{entity}`

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

  Acquire metadata through [tmux_snapshot](https://libtmux.org/en/ruby/latest/mcp/tools/tmux_snapshot/) with its default page limit. Encode every URI component; generation must match discovery. Reports capture interval and truncation.

  * MCP request method

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

  * MIME type

    `application/json`

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

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

    * Binding

      URI variable

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

    * Binding

      URI variable

  * `entity`[#](https://libtmux.org/en/ruby/latest/mcp/resources/templates/tmux_metadata/#mcp.resource-template.tmux%3A%2F%2F%7Bendpoint%7D%2F%7Bgeneration%7D%2Fsnapshots%2F%7Bentity%7D.parameter.entity)

    * Binding

      URI variable

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

  Returns resource contents for the requested URI with MIME type `application/json`.

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

  Use the complete advertised contract for validation and client integration.

  Registration

  ```json
  {
    "description": "Acquire metadata through tmux_snapshot with its default page limit. Encode every URI component; generation must match discovery. Reports capture interval and truncation.",
    "mimeType": "application/json",
    "name": "tmux_metadata",
    "uriTemplate": "tmux://{endpoint}/{generation}/snapshots/{entity}"
  }
  ```

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