scpi_command
Send raw SCPI commands to a spectrum analyzer when no dedicated tool exists. Blocked safety-denylisted commands run only with confirm set to true; queries must use scpi_query.
Instructions
Send a raw SCPI command (no reply expected) to the analyzer. Escape hatch for commands without a dedicated tool. Commands that reset the instrument, change network settings, lock the panel or write files are refused unless confirm=true. Queries are refused; use scpi_query.
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_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | SCPI command, e.g. ':FREQuency:CENTer 1 GHz' | |
| confirm | No | Set true to allow a command on the safety denylist (e.g. *RST). Only with the user's approval. | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured |