publishWorkflow
Promotes a workflow draft to the live version so real events run it; validate first, since publishing is refused while the draft has errors.
Instructions
Make the draft the live version.
Real events then run it, unless the workflow is paused. Publish is refused
while the draft has errors, so run validateWorkflow first. Ask the user
before you publish.
(Tags: Workflows)
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": "publishWorkflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Id of the workflow. |