libtmux_mcp.models.PaneSnapshot
- Bases:
- BaseModel
Rich screen capture with metadata: content, cursor, mode, and scroll state.
Members
- pane_width : int = Field(description="Pane width in columns")
- pane_height : int = Field(description="Pane height in rows")
- pane_in_mode : bool = Field(description="True if pane is in copy-mode or view-mode")
- history_size : int = Field(description="Total scrollback lines available")
- is_caller : bool | None = Field( default=None, description=( "MCP caller identity for this pane. ``True`` when the pane " "matches the caller's ``TMUX_PANE`` *and* lives on the same " "tmux socket as the caller's ``TMUX`` (verified via socket " "realpath); ``False`` otherwise, including the case where " "the pane id matches but the socket does not or cannot be " "proven to; ``None`` when the MCP process is not running " "inside tmux at all." ), )
- content_truncated : bool = Field( default=False, description=( "True if ``content`` was tail-preserved to stay within " "``max_lines``; oldest lines were dropped." ), )
- content_truncated_lines : int = Field( default=0, description="Number of lines dropped from the head when truncating.", )