get_screenshot_data
Capture the oscilloscope's current screen bitmap and save it to a local file under MHO98_DATA_DIR, returning only the file path and size instead of the image blob.
Instructions
Fetch the current screen bitmap via :SAVE:IMAGe:DATA? and write it to a LOCAL file under MHO98_DATA_DIR (alternative to the display subsystem's :DISPlay:DATA? screenshot). Only path + size are returned, never the blob.
The image honors the :SAVE:IMAGe:* options (color/invert/header/format,
see configure_save). Format is sniffed from the magic bytes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_screenshot_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |