roma__ListTopics
Lists and filters Huawei Cloud ROMA device topics by name, type, permission, and custom status for a specified device, with pagination support.
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__ListTopics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | topic名称 | |
| limit | No | 每页显示条目数量,最大数量999,超过999后只返回999 | |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0 | |
| device_id | Yes | 设备ID | |
| is_private | No | topic是否为自定义,0为基础topic,1为自定义topic | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| topic_type | No | topic类型,0为设备类topic,1为产品类topic | |
| instance_id | Yes | 实例ID | |
| topic_permission | No | topic权限,0为发布,1为订阅 |