Deploy a workflow
deploy_workflowPublish the workflow as it is now to its deployment, which schedules, the API and webhooks run. The first deploy creates the deployment; later ones add a version only when the steps changed. Call it first without approved to see what would change, 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": {
"workflow_id": "<workflow_id>"
},
"name": "deploy_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approved | No | true only after the person has agreed to deploy. | |
| workflow_id | Yes | The workflow to deploy. |