mcp.src.TmuxTools.snapshot_pane
- #[tool_router(router = inspect_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Read pane content with cursor position, mode state, and scroll \ position in one reply. The state query and capture are separate, \ so the result is not atomic. Prefer this over capture_pane when \ you need to reason about where the pane is rather than only what \ it says -- a cursor at column zero on a fresh line is a shell \ waiting, and a pane in a mode may route keys to tmux instead of \ the workload.", title = "Snapshot Pane State", meta = crate::capability_meta!(Inspect, None, [Observe], [TmuxMetadata, TerminalContent], true, true, { "pane" => [TmuxLookup], "max_lines" => [None], "history" => [None] }; always_load) )] pub async fn snapshot_pane( &self, Parameters(SnapshotArgs { pane, max : Parameters<Snapshot_lines, history, }) Args >, ) -> Result<Json<Snapshot>, ToolError > -
Report pane state and bounded content in one answer.
Guides#
Pages that discuss snapshot_pane.