set_marker_function
Configure a spectrum analyzer marker to measure noise level, band power, band density, or turn it off, and set the band span for power or density readings.
Instructions
Set a marker's function: noise (noise level per Hz), band_power (power in the band), band_density (power density in the band) or off. band_span_hz sets the band width for band_power and band_density. Read the result with get_marker. Values the instrument changed are reported in 'warnings'.
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_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marker | Yes | Marker number, 1 to 10 | |
| function | No | Marker function | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured | |
| band_span_hz | No | Band span in Hz for band_power / band_density |