Build or change a pipeline
save_pipelineCreate a pipeline (no pipeline_id) or change one. A pipeline runs existing workflows (stages) one after another, with checkpoints where the person reviews or chooses. steps is the full ordered list, in the shape get_pipeline shows: steps left out are removed, steps are matched by key. A stage passes text or {{...}} references to its workflow's start inputs: {{start_input}}, {{stage_key.output.field}} (a field of the stage workflow's final JSON Schema step) or {{checkpoint_key.output}}. Fields left out keep their value. The answer says whether it is valid and lists problems and warnings; fix them and save again. Saving costs nothing and runs nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| steps | No | The full ordered list of stages and checkpoints. | |
| description | No | ||
| pipeline_id | No | The pipeline to change. Leave out to create one. | |
| start_inputs | No | The full list of start inputs (text only). Replaces the current list. | |
| max_spend_usd | No | Spend cap for one run, in US dollars. | |
| time_limit_minutes | No | Work-time limit for one run (checkpoint waits do not count). |