MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux_mcp.models.BufferRef

class libtmux_mcp.models.BufferRef
Bases:
  • BaseModel

Handle returned by load_buffer .

Description#

Agent-created tmux paste buffers are namespaced with a per-call UUID to avoid collisions on the server-global buffer namespace when concurrent agents (or parallel tool calls from a single agent) are staging content. Callers must use the buffer_name this model carries on subsequent paste_buffer , show_buffer , and delete_buffer calls.

Members

buffer_name : str = Field( description=( "The actual tmux buffer name (with prefix and UUID nonce). " "Pass this back to paste_buffer/show_buffer/delete_buffer." ), )
logical_name : str | None = Field( default=None, description="Optional logical name supplied by the caller, if any.", )
Esc

Type to search.

Reference preview Open reference