Show buffer

show_buffer

show_buffer
readonly tool

Read back the contents of an MCP-owned buffer.

Returns:

BufferContent

Use when you need to confirm what was staged before pasting, or to read back a buffer between modifications. Restricted to MCP-namespaced buffers — non-agent buffers are rejected.

Side effects: None. Readonly.

Parameters

Parameter

Type

Required

Default

Description

buffer_name

str

yes

Must match the full MCP-namespaced form.

max_lines

int

no

500

Maximum number of lines to return. Defaults to :data:SHOW_BUFFER_DEFAULT_MAX_LINES. Pass None for no truncation.

socket_name

str

no

tmux socket name.

Clean up