set_detector
Configures the detector mode or automatic detector selection for a selected trace (1–6) on a UNI-T UTS spectrum analyzer, including sample, positive, negative, normal, and average modes.
Instructions
Set the detector of one trace (1-6): sample, positive, negative, normal or average (turns that trace's automatic detector off), or switch automatic selection on/off.
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": {
"trace": "<trace>"
},
"name": "set_detector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto | No | Automatic detector selection for the trace; not with detector=... | |
| trace | Yes | Trace number 1-6 | |
| detector | No | Detector mode | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured |