scan_devices
Scans connected devices and auto-registers them for control. Broadcasts discovery, queries IO channels and functionality, then persists device info for immediate address and loop control.
Instructions
扫描所有连接上的在线设备并自动注册。执行流程:1)广播查找命令发现设备 2)对每台设备查询 IO 通道数和功能模块 3)将设备信息注册到注册表并持久化。扫描完成后设备即可通过地址+回路号控制。首次使用时必须先调用此工具。
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": "scan_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||