snapshot_pane
-
Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Return pane metadata and bounded terminal content together.
- MCP request method
tools/callSendsnapshot_paneas the tool name, with the arguments below.
Arguments
-
Caller-controlled maxLines.
- minimum
1- maximum
2000
-
Caller-controlled paneId.
No other arguments are accepted.
Result
Returns object
-
No other properties are accepted.
-
No other properties are accepted.
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Snapshot pane"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
Every Swift 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": {"maxLines": {"description": "Caller-controlled maxLines.","maximum": 2000,"minimum": 1,"type": "integer"},"paneId": {"description": "Caller-controlled paneId.","type": "string"}},"required": ["paneId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"capture": {"additionalProperties": false,"properties": {"droppedLines": {"type": "integer"},"lines": {"items": {"type": "string"},"type": "array"},"paneId": {"type": "string"}},"required": ["droppedLines","lines","paneId"],"type": "object"},"pane": {"additionalProperties": false,"properties": {"currentCommand": {"type": "string"},"currentPath": {"type": "string"},"height": {"type": "integer"},"id": {"type": "string"},"index": {"type": "integer"},"isActive": {"type": "boolean"},"isAtBottom": {"type": "boolean"},"isAtLeft": {"type": "boolean"},"isAtRight": {"type": "boolean"},"isAtTop": {"type": "boolean"},"isDead": {"type": "boolean"},"isSynchronized": {"type": "boolean"},"modeCount": {"type": "integer"},"ref": {"type": "string"},"width": {"type": "integer"},"windowID": {"type": "string"}},"required": ["currentCommand","currentPath","height","id","index","isActive","isAtBottom","isAtLeft","isAtRight","isAtTop","isDead","isSynchronized","modeCount","ref","width","windowID"],"type": "object"}},"required": ["capture","pane"],"type": "object"}