group_connect
Activate specific relays using a bitmask while keeping other channels unchanged. Specify device address and 16-bit mask to control up to 16 relay outputs.
Instructions
组吸合:按掩码吸合指定继电器,其余通道保持原状态不变。
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": {
"mask": "<mask>"
},
"name": "group_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | Yes | 16 位掩码 (0-65535)。bit0=第1路, bit1=第2路, …, bit15=第16路。1=操作, 0=保持原状。 | |
| address | No | 设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。 |