Publish a Workbench flow version
workbench_flows_publishSnapshots the flow's current DRAFT as a named published version — the version schedules (workbench_flows_schedule), guest share links (workbench_flows_share_create), public-API runs, and 'published'-stage evals execute. The draft keeps evolving after this; runs on the published side don't change until the next publish. Publishing does NOT run the flow, but any eval set to runOnPublish starts a run (that spends credit — mention it when one exists). Publish only after the user has tested the draft (workbench_flows_run) or asked for it. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What changed — a commit message. | |
| flowId | Yes | Flow to publish. | |
| version | Yes | Version label, e.g. '1.0.0' or '2026-09-04'. Re-using a label retags it to this snapshot. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response. Omit on the first call. |