Publish workflow
publish_workflowPublish a workflow version, making it the version served to callers (including dynamic endpoints that reference it @published).
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>",
"version": "<version>"
},
"name": "publish_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | the version number to make live | |
| workflow_id | Yes | the workflow id to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| definition | No | ||
| description | Yes | ||
| workflow_id | Yes | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |