codeartspipeline__CreateRule
Creates a CodeArts Pipeline rule for a tenant using a rule name, type, grouped attributes, and layout content, enabling reusable pipeline policy configuration.
Instructions
[CODEARTSPIPELINE] 创建规则
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": {
"content": "<content>",
"domain_id": "<domain_id>",
"layout_content": "<layout_content>",
"name": "<name>",
"type": "<type>"
},
"name": "codeartspipeline__CreateRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 规则名称 | |
| type | Yes | 类型:Build,Gate,Deploy,Test,Normal | |
| content | Yes | 规则属性分组列表 | |
| domain_id | Yes | 租户ID | |
| plugin_id | No | 插件ID | |
| plugin_name | No | 插件名称 | |
| layout_content | Yes | 布局内容 | |
| plugin_version | No | 插件版本号 |