roma__UpdateProduct
Updates ROMA product details such as name, model, manufacturer, device type, version, and description using the specified project, instance, and product IDs.
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_type": "<device_type>",
"instance_id": "<instance_id>",
"manufacturer_id": "<manufacturer_id>",
"manufacturer_name": "<manufacturer_name>",
"model": "<model>",
"name": "<name>",
"product_id": "<product_id>",
"project_id": "<project_id>"
},
"name": "roma__UpdateProduct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 产品名称,创建产品时租户内唯一,长度1-64,仅支持中文,英文字母,数字,下划线和中划线 | |
| model | Yes | 产品型号,支持英文大小写,数字,下划线,中划线和空格(首尾空格会被忽略),长度2-50 | |
| version | No | 模型版本 | |
| product_id | Yes | 产品ID | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| description | No | 产品描述,长度0-200 | |
| device_type | Yes | 产品的设备类型(默认Default Type) | |
| instance_id | Yes | 实例ID | |
| manufacturer_id | Yes | 产品供应商ID,支持英文大小写,数字,下划线和中划线,长度2-50 | |
| manufacturer_name | Yes | 厂商名称,支持长度2-64 |