ad_marker
Configure an AD marker’s mode, trace, reference marker, or position and return its new state. Use it to place or switch markers on AD spectrum and demodulation traces.
Instructions
Set an AD marker's mode, trace, reference marker (delta mode) and/or position, then return its new state. AD module must be active. Commands apply in the order mode, trace, reference, x. AD has six markers per demod type (not SA's ten) and AD-specific traces (rf_spectrum, demod, demod_average, demod_max, demod_min, af_spectrum); x's unit is Hz for the spectrum traces and seconds for the demodulation-waveform traces. A position set on a marker that is off has no effect: set mode normal (or use ad_marker_search) first. Live-verified (2026-11-12) against a real signal.
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": {
"marker": "<marker>"
},
"name": "ad_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Marker position: Hz for rf_spectrum/af_spectrum, seconds for the demod waveform traces | |
| mode | No | off, normal (position), delta or fixed | |
| trace | No | Trace the marker sits on | |
| marker | Yes | Marker number, 1 to 6 (AD has six markers per demod type, not SA's ten) | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured | |
| reference_marker | No | Reference marker for delta mode (another marker, 1-6) |