Query SCPI
querySend SCPI commands ending with '?' to instruments and get ASCII responses for measurement and control.
Instructions
Send a SCPI query and return the ASCII response.
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | SCPI query, usually ending with '?' | |
| confirm | No | ||
| resource | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| notes | No | ||
| command | Yes | ||
| resource | Yes | ||
| response | No |