codeartspipeline__CreatePipelineByTemplateId
Creates a CodeArts Pipeline from an existing template ID, letting you define the pipeline name, project, sources, and variables for repeatable CI/CD setup.
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": {
"is_publish": "<is_publish>",
"name": "<name>",
"project_id": "<project_id>",
"sources": "<sources>",
"template_id": "<template_id>"
},
"name": "codeartspipeline__CreatePipelineByTemplateId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 流水线名称 | |
| sources | Yes | 流水线源 | |
| variables | No | 流水线参数 | |
| is_publish | Yes | 是否为变更流水线 | |
| project_id | Yes | 项目ID | |
| description | No | 流水线描述 | |
| template_id | Yes | 模板ID | |
| component_id | No | 微服务ID |