workflow_update
ManagementUpdate Workflow
Update an existing workflow's metadata or definition.
Args:
- workflow_id: required
- name, description: optional metadata
- flow, inputs_definition, editor_info: optional definition fields. Editing editor_info without also supplying flow leaves the compiled flow stale — the workflow keeps running its previously-compiled flow until re-published. The response carries _publishHint in that case.
- team_id, project_id: required for OAuth callers
Returns: the updated workflow record (plus _publishHint when editor_info changed without a fresh flow).
Example: "Rename this workflow" -> workflow_id="workflow_xxx", name="new-name"
open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| workflow_id | string | ✓ | Workflow ID. |
| name | string | — | Workflow name (for create/update). |
| description | string | — | Workflow description (for create/update). |
| flow | array | — | Workflow flow definition (array of node objects). |
| inputs_definition | array | — | Workflow input definitions. |
| editor_info | record | — | UI editor metadata (managed by the Scenario webapp). Validated against the webapp's import schema before persisting. |
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |