deploy_workflow
Deploy a committed workflow version as the active one by specifying the workflow ID and optional version. Requires a prior commit; otherwise returns a 404 error.
Instructions
Deploy a committed workflow/pipeline version as the active (live) version.
Calls POST /api/workflows/{id}/deployments/ (the correct platform endpoint — different from the SDK's deployWorkflow). If version is omitted, deploys the latest committed version.
REQUIREMENT: must call commit_workflow first. If no committed version exists, deploy returns 404 "Committed version not found".
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": {
"workflow_id": "<workflow_id>"
},
"name": "deploy_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Specific version number to deploy. Omit for latest committed. | |
| workflow_id | Yes | Family workflow_id (not a version-row id). |