Run a pipeline
run_pipelineStart a pipeline run. Runs cost money, so: call it first without approved to get the cost and the inputs it would use, tell the person, and only call again with approved: true after they say yes. Returns a pipeline_run_id; then call get_pipeline_run every 20 seconds or so. When the run stops at a checkpoint, show the person what it asks and send their own answer with answer_checkpoint.
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>"
},
"name": "run_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Start input values keyed by input name (see get_pipeline start_inputs). Inputs left out use their example value. | |
| approved | No | true only after the person has agreed to this run and its cost. | |
| pipeline_id | Yes | The pipeline to run. |