snapshot_pane
-
Returns what a pane shows and its metadata, as list_panes describes a pane, in one call. Use it when both are needed; capture_pane alone reads less. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.
- MCP request method
tools/callSendsnapshot_paneas the tool name, with the arguments below.
Arguments
-
Include scrollback rather than only the visible screen. Defaults to false.
-
Maximum lines, keeping the newest. Defaults to 200.
-
The pane to act on, such as %1. Every listing tool returns these.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Snapshot a pane"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
Every Java tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"history": {"default": false,"description": "Include scrollback rather than only the visible screen. Defaults to false.","type": "boolean"},"max_lines": {"default": 200,"description": "Maximum lines, keeping the newest. Defaults to 200.","type": "integer"},"pane_id": {"description": "The pane to act on, such as %1. Every listing tool returns these.","type": "string"}},"required": ["pane_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"content": {"items": {"type": "string"},"type": "array"},"cursor": {"type": "string"},"lines_dropped": {"type": "integer"},"pane": {"type": "object"},"truncated": {"type": "boolean"}},"required": ["pane","content","cursor","truncated","lines_dropped"],"type": "object"}