MCPconceptResources

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

resource template MCP

tmux_screen

tmux://{endpoint}/{generation}/panes/{pane_id}/screen
resource template

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.

MCP request method
resources/read Send the resource URI shown above.
MIME type
text/plain

URI parameters

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
{
"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"
}
Esc
Search in

Type to search.

Reference previewOpen reference