codeartspipeline__CreatePipelineByTemplate
Creates a CodeArts Pipeline and its tasks from a template, using flow, state, and workflow inputs to define stage order and job execution.
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": {
"flow": "<flow>",
"states": "<states>",
"workflow": "<workflow>"
},
"name": "codeartspipeline__CreatePipelineByTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | 编排flow详情,描述流水线内各阶段任务的串并行关系。map类型数据,key为阶段名字,默认第一阶段initial,最后阶段为final,其余名字以'state_数字'标识。value为该阶段内任务(以'Task_数字'标识)以及后续阶段的标识。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 | |
| states | Yes | 编排State详情,map类型数据。本字段为描述流水线基础编排数据之一,建议可通过流水线真实界面基于模板创建接口中获取 | |
| workflow | Yes | 参数详情 |