Deploy a pipeline
deploy_pipelineCopy the pipeline as it is now to a deployment variant, which the public API (POST /v1/pipeline/invoke with deployment and variant) and schedules run. A deployment and variant that do not exist yet are created; an existing variant gets a new version. Left out, deployment is the pipeline's first deployment (or one named after it) and variant is production. run_pipeline does not need a deployment. Call it first without approved to see what would change and the current deployments, tell the person, and call again with approved: true only after they say yes.
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": "deploy_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | Variant name, e.g. production or staging. | |
| approved | No | true only after the person has agreed to deploy. | |
| deployment | No | Deployment name: letters, numbers and dashes, e.g. seo-article. | |
| description | No | What changed in this version, shown in its version history. | |
| pipeline_id | Yes | The pipeline to deploy. |