add_task_to_pipeline
Add a task to a pipeline with an optional order index; if omitted, the task is appended to the end.
Instructions
将任务添加到 Pipeline。指定任务在 Pipeline 中的顺序。不传 order_index 则自动追加到末尾。
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": {
"pipeline_id": "<pipeline_id>",
"task_id": "<task_id>"
},
"name": "add_task_to_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | 任务 ID | |
| order_index | No | 顺序索引(不传则自动追加到末尾) | |
| pipeline_id | Yes | Pipeline ID |