scpi_query
Send a read-only SCPI query to a Siglent SDG waveform generator and return the response, enabling custom queries beyond the built-in tools.
Instructions
Send a read-only SCPI query to the waveform generator and return the response. Use this as an escape hatch for queries not covered by other tools. The command must be a single SCPI header ending in '?' (e.g. 'C1:BSWV?'); anything that could change instrument state is rejected. Note: CHDR is set to OFF, so responses contain only values (no headers).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "scpi_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | SCPI query command to send (e.g. '*IDN?', 'C1:BSWV?', 'C1:OUTP?') | |
| timeout_ms | No | Timeout in milliseconds (default 5000) |