all_relays_on
Switch on all relays on a KR-series controller with a single command. Then read the status to confirm the action, making it faster than controlling each relay individually.
Instructions
一键吸合全部继电器。发完即走不等应答,直接读状态确认。内部使用 SET_RELAY_MASK 单指令执行,比逐路操作快 N 倍。对应自然语言:全开、打开所有开关、全部吸合、all on。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "all_relays_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | 设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。 |