roma__ListSubsets
Lists sub-devices for a specified ROMA Connect device, with pagination and filtering by name, status, or online status.
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>"
},
"name": "roma__ListSubsets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页显示条目数量,最大数量999,超过999后只返回999 | |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0 | |
| status | No | 设备状态 0-启动 1-停用 | |
| device_id | Yes | 设备ID | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| device_name | No | 设备名称 | |
| instance_id | Yes | 实例ID | |
| online_status | No | 设备状态 0-未连接 1-在线 2-离线 |