Sa Set
sa_setSet any SAStudio4 value control (number, choice, or on-off) as a user would with read-back; mode-switching confirmation pop-ups are cancelled and reported.
Instructions
Set any SAStudio4 value control (number / choice / on-off) the way a user would, with read-back. Confirmation pop-ups that would switch mode are cancelled and reported.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "sa_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu | No | Menu caption to disambiguate names used in several menus (e.g. 'channel') | |
| mode | No | Mode the control belongs to (switches mode); blank = current | |
| name | Yes | Control name from sa_controls | |
| panel | No | Side panel button: markerBtn | traceButton | graphTraceBtn | |
| value | Yes | number WITH unit as on the keypad ('30kHz', '250ms', '-3dB', '2GB', '2001'), an option text for enums, On/Off for toggles | |
| dialog | No | Dialog path, e.g. 'System/Preference', 'System/Amplitude Correction', 'Amplitude/AF' | |
| confirm | No | Required for DANGER controls (RF output, input port, calibration tables...). Only after the user agreed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||