scpi_query
Send a raw SCPI query to a Siglent SDS oscilloscope and get the returned value. Use it for queries not covered by other tools, such as *IDN? or C1:VDIV?.
Instructions
Send a SCPI query to the oscilloscope and return the response. Use this as an escape hatch for queries not covered by other tools. Only queries are accepted: a single header ending in '?' (e.g. '*IDN?', 'C1:VDIV?', 'SARA?'); parameters after '?' only for PAVA? (e.g. 'C1:PAVA? FREQ'). 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 to send (e.g. '*IDN?', 'C1:VDIV?', 'SARA?') | |
| timeout_ms | No | Timeout in milliseconds (default 5000) |