capture_pane
-
Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Return a bounded slice of rendered pane text.
- MCP request method
tools/callSendcapture_paneas the tool name, with the arguments below.
Arguments#
-
Caller-controlled end.
- minimum
-2147483648- maximum
32767
-
joinWrapped? (boolean) #Caller-controlled joinWrapped.
-
Caller-controlled maxLines.
- minimum
1- maximum
2000
-
Caller-controlled paneId.
-
Caller-controlled start.
- minimum
-2147483648- maximum
32767
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Capture pane"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"end": {"description": "Caller-controlled end.","maximum": 32767,"minimum": -2147483648,"type": "integer"},"joinWrapped": {"description": "Caller-controlled joinWrapped.","type": "boolean"},"maxLines": {"description": "Caller-controlled maxLines.","maximum": 2000,"minimum": 1,"type": "integer"},"paneId": {"description": "Caller-controlled paneId.","type": "string"},"start": {"description": "Caller-controlled start.","maximum": 32767,"minimum": -2147483648,"type": "integer"}},"required": ["paneId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"droppedLines": {"type": "integer"},"lines": {"items": {"type": "string"},"type": "array"},"paneId": {"type": "string"}},"required": ["droppedLines","lines","paneId"],"type": "object"}