roma__CreateDeviceGroup
Creates a device group under a specified parent group in a ROMA instance, using the application and project IDs to organize devices for management.
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": {
"app_id": "<app_id>",
"instance_id": "<instance_id>",
"name": "<name>",
"parent_id": "<parent_id>",
"project_id": "<project_id>"
},
"name": "roma__CreateDeviceGroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 | |
| app_id | Yes | 分组归属应用ID | |
| parent_id | Yes | 父分组ID,自动向下取整 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| description | No | 分组描述 | |
| instance_id | Yes | 实例ID |