dataartsstudio__UpdateTemplate
Updates DataArts Studio rule templates, including SQL content, status, description, and dimension settings, and supports publishing a new version when needed.
Instructions
[DATAARTSSTUDIO] 更新规则模板
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": {
"id": "<id>",
"project_id": "<project_id>"
},
"name": "dataartsstudio__UpdateTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | template id | |
| name | No | template name | |
| status | No | 规则模板状态,0表示下线1表示已发布 | |
| publish | No | 是否是发布操作, true:发布新版本 false:普通的保存操作 | |
| sql_info | No | 模板中的sql内容 | |
| project_id | Yes | project id | |
| description | No | 描述 | |
| origin_name | No | 修改前的模板名 | |
| version_num | No | 获取模板信息时候的版本号 | |
| dimension_id | No | 维度ID, 1:完整性,2:唯一性,3:及时性,4:有效性,5:准确性,6:一致性 | |
| directory_id | No | 目录 | |
| result_description | No | 结果说明 | |
| abnormal_table_template | No | 异常表模板 | |
| user_define_version_name | No | 用户自定义版本名 | V1.0 |