roma__UpdateProductTemplate
Updates an existing ROMA product template's name, description, and status for a specified project and instance.
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>",
"name": "<name>",
"product_template_id": "<product_template_id>",
"project_id": "<project_id>",
"status": "<status>"
},
"name": "roma__UpdateProductTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 | |
| status | Yes | 产品模板状态 0-启用 1-禁用 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| description | No | 产品模板描述,长度0-200 | |
| instance_id | Yes | 实例ID | |
| product_template_id | Yes | 产品模板ID |