cloudpipeline__CreatePipelineByTemplateId
Create a Huawei Cloud CloudPipeline pipeline from an existing template ID within a project. Specify source repositories and optional details to provision automated delivery workflows.
Instructions
[CLOUDPIPELINE] 基于模板创建流水线
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": {
"project_id": "<project_id>",
"template_id": "<template_id>"
},
"name": "cloudpipeline__CreatePipelineByTemplateId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 流水线名称 | |
| sources | No | 流水线源 | |
| is_publish | No | 是否为变更流水线 | |
| project_id | Yes | 项目ID | |
| description | No | 流水线描述 | |
| template_id | Yes | 模板ID | |
| component_id | No | 微服务ID |