roma__ListProducts
Retrieve and filter ROMA Connect products by instance, project, name, model, app, type, protocol, manufacturer, or creation date to inspect available products and support device 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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__ListProducts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 产品ID | |
| name | No | 产品名称 | |
| limit | No | 每页显示条目数量,最大数量999,超过999后只返回999 | |
| model | No | 型号 | |
| app_id | No | 应用ID | |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0 | |
| app_name | No | 应用名称 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| device_type | No | 产品的设备类型,默认Default | |
| instance_id | Yes | 实例ID | |
| product_type | No | 产品类型,0-普通产品(不支持子设备) 1-网关产品 | |
| protocol_type | No | 产品的协议类型 0-mqtt 2-modbus 4-opcua | |
| product_serial | No | 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) | |
| manufacturer_id | No | 厂商ID | |
| created_date_end | No | 创建时间截止,格式timestamp(ms),使用UTC时区 | |
| created_user_name | No | 创建用户 | |
| manufacturer_name | No | 厂商名称 | |
| created_date_start | No | 创建时间起始,格式timestamp(ms),使用UTC时区 |