libtmux_mcp.tools.buffer_tools.show_buffer
Python
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Read back the contents of an MCP-owned buffer.
Output is tail-preserved: when the buffer exceeds
max_linesthe oldest lines are dropped andcontent_truncatedis set so the caller can tell truncation happened and opt in to a full read viamax_lines=None. This mirrorscapture_pane— one consistent bounded-output contract across read-heavy tools so a pathologicalload_bufferstaging cannot blow the agent's context window on a singleshow_buffercall.- Parameters
- Returns
-
BufferContent Structured result with
buffer_name,content, and the truncation fields.