codeartspipeline__UpdatePipelineInfo
Updates an existing CodeArts pipeline's configuration—including name, definition, sources, triggers, schedules, variables, and publish status—using its project and pipeline IDs.
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>",
"pipeline_id": "<pipeline_id>",
"project_id": "<project_id>"
},
"name": "codeartspipeline__UpdatePipelineInfo"
}
}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 | |
| componentId | No | 微服务ID | |
| description | No | 流水线描述 | |
| pipeline_id | Yes | 流水线ID | |
| project_name | No | 项目名称 | |
| manifest_version | No | 流水线结构定义版本,新版默认为3.0 | |
| concurrency_control | No | 流水线并发管理 |