libtmux_mcp.tools.buffer_tools.load_buffer
-
Load text into a new agent-namespaced tmux paste buffer.
Description#
Each call allocates a fresh buffer name — two concurrent calls will land in distinct buffers even if they pass the same
logical_name. Agents MUST use the returnedbuffer_nameon subsequent paste/show/delete calls.When to use this vs. paste_text:
load_bufferis the stage-then-fire path — you get a handle back and can inspect viashow_buffer, paste into multiple panes viapaste_buffer, or hold the content for later. Usepaste_textfor a simple one-shot paste with no follow-up.- Parameters
- Returns
-
BufferRef Handle with the allocated
buffer_namethe caller must use on follow-up calls.