set_frequency
Configures spectrum analyzer frequency settings using center/span, start/stop, full span, or zero span, then reports any instrument-adjusted values as warnings.
Instructions
Set frequency parameters (all in Hz). Give center and/or span, OR start and/or stop, OR full_span, OR zero_span; center step and offset can be combined with any of these. Frequency parameters are coupled, so the settings are re-read afterwards; values the instrument changed are reported in 'warnings'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_frequency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| span_hz | No | Span in Hz (> 0; use zero_span for zero span) | |
| stop_hz | No | Stop frequency in Hz (> 0) | |
| start_hz | No | Start frequency in Hz (>= 0) | |
| center_hz | No | Center frequency in Hz (> 0) | |
| full_span | No | Set the full span. Cannot be combined with center/span/start/stop | |
| offset_hz | No | Frequency offset in Hz | |
| zero_span | No | Set zero span (time domain). Cannot be combined with center/span/start/stop | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured | |
| center_step_hz | No | Center frequency step in Hz (> 0); turns the automatic step off | |
| center_step_auto | No | Automatic center frequency step on/off |