Capture oscilloscope waveform
scope_capture_waveformCapture a scaled voltage-vs-time waveform from one oscilloscope channel and return downsampled points with vmin/vmax/vmean/vpp for compact MCP results.
Instructions
Read a scaled voltage-vs-time trace from one channel.
Uses the vendor dialect from *IDN? (or dialect=). Returns downsampled points plus vmin/vmax/vmean/vpp so the payload fits in an MCP tool result.
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": "scope_capture_waveform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Channel number or name (1, CHAN1, CH1, C1) | |
| dialect | No | ||
| resource | No | ||
| max_points | No | Returned point budget after min/max downsample (keep small for MCP). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | Yes | ||
| v | Yes | ||
| vpp | Yes | ||
| dt_s | Yes | ||
| path | No | ||
| t0_s | Yes | ||
| vmax | Yes | ||
| vmin | Yes | ||
| notes | No | ||
| vmean | Yes | ||
| scaled | No | ||
| channel | Yes | ||
| dialect | Yes | ||
| units_t | No | s | |
| units_v | No | V | |
| resource | Yes | ||
| n_samples_raw | Yes | ||
| n_samples_returned | Yes |