capture_screenshot
Capture an oscilloscope screen image, save it to a chosen file format and location, and optionally receive the image for visual verification.
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 |