Suggest SCPI for an intent
suggest_scpiMap natural-language instrument intents to vendor-correct SCPI, then optionally execute the commands on connected oscilloscopes.
Instructions
Map a natural-language intent to vendor-correct SCPI. Optionally execute it.
Uses *IDN? dialect unless you pass dialect=. Prefer this over inventing commands.
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": {
"intent": "<intent>"
},
"name": "suggest_scpi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What you want: capture waveform, measure vpp, set 100 mV/div, trigger on CH1 rising 0.5 V, run, stop, screenshot, reset, errors, ... | |
| channel | No | ||
| dialect | No | Force keysight|tektronix|rigol|siglent|lecroy|generic | |
| execute | No | If true, send the commands (queries return responses). | |
| resource | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |