osc_set_channel_state
Turn an oscilloscope channel trace on or off by providing the channel number and a boolean state. Use this to show or hide channel waveforms during measurements.
Instructions
Enable or disable a channel trace on the oscilloscope.
Args: channel: Channel number (1 or 2). state: True to enable, False to disable.
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": {
"channel": "<channel>",
"state": "<state>"
},
"name": "osc_set_channel_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |