capture_screenshot
Capture an oscilloscope screen display, save it as PNG/JPG/BMP/WEBP, and optionally return the image for visual verification. Use this to inspect waveform appearance, not numeric readings.
Instructions
Capture the screen, save it, and also return the image (for visual checks).
path is the destination directory or file (defaults to the configured default directory). A relative path is resolved against the invocation directory (the default save location). Saving outside the allowed roots is rejected (add roots with RIGOL_MCP_ALLOWED_DIRS). format is png / jpg / jpeg / bmp / webp. With return_image=false only the metadata is returned, without the image (saves tokens). For numeric readings use measure, not this image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| format | No | ||
| return_image | No |