roma__AddSubsetsToGateway
Adds ordinary child devices to a ROMA gateway using the gateway device ID, instance ID, project ID, and child device ID list.
Instructions
[ROMA] 添加子设备到网关
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": {
"device_id": "<device_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"resources": "<resources>"
},
"name": "roma__AddSubsetsToGateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | 设备ID | |
| resources | Yes | 待添加子设备ID列表,且设备需是普通设备,自动向下取整 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID |