set_marker
Configure a spectrum analyzer marker's mode, trace, position, or delta reference, then verify applied settings and report any warnings for values the instrument rejected.
Instructions
Set a marker's mode, trace, reference marker (delta mode) and/or position. Commands are applied in the order mode, trace, reference, x; the marker is re-read afterwards and anything the instrument did not take is reported in 'warnings'. A position set on a marker that is off has no effect: set mode normal (or use marker_search, which turns the marker on) first.
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": "set_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | off, normal (position), delta or fixed | |
| x_hz | No | Marker position in Hz (seconds in zero span). Not clamped by the instrument: a value outside the sweep span is accepted but its level reading is not meaningful | |
| trace | No | Trace the marker sits on, 1 to 6 | |
| marker | Yes | Marker number, 1 to 10 | |
| 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) |