codeartspipeline__CreatePipelineNew
Creates a CodeArts Pipeline in a project from a definition and name, supporting sources, triggers, schedules, variables, and publish status for CI/CD automation.
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": {
"definition": "<definition>",
"is_publish": "<is_publish>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "codeartspipeline__CreatePipelineNew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 若为复制场景,则为原流水线ID | |
| name | Yes | 流水线名称 | |
| sources | No | 流水线源 | |
| group_id | No | 流水线组ID | |
| triggers | No | 流水线代码事件触发配置 | |
| schedules | No | 流水线定时执行配置 | |
| variables | No | 流水线自定义全局变量 | |
| definition | Yes | 流水线结构定义 | |
| is_publish | Yes | 是否为发布流水线 | |
| project_id | Yes | 项目ID | |
| description | No | 流水线描述 | |
| component_id | No | 组件ID | |
| project_name | No | 项目名称 | |
| manifest_version | No | 流水线结构定义版本,新版默认为3.0 | |
| concurrency_control | No | 流水线并发管理 |