Rename / describe / archive / re-scope a Workbench flow
workbench_flows_updateChanges a flow's name, description, visibility, tags, or archived state — the metadata around the flow, NOT its orchestration (prompts and nodes change through workbench_flows_edit_text). Pass only what changes. Archiving hides the flow from the default gallery but leaves it runnable, scheduled, and shared; pass archived: false to restore. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replacement tag set (lowercase labels). The whole set, not a diff. | |
| flowId | Yes | Flow id, from workbench_flows_list. | |
| archived | No | true archives, false restores. | |
| flowName | No | New name. | |
| 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. | |
| visibility | No | Who can see it: PRIVATE (only the user), WORKSPACE (every member, the default), or SHARED (specific people, granted afterwards). Say 'make it private' → PRIVATE. | |
| description | No | New description; null clears it. |