# veryfront__update_workflow

Change the description, version or schedulable flag of a structured workflow, where an omitted field keeps its value; returns the updated workflow source document. Requires project.runs.write.

Risk: mutating.

## Arguments

| Name                 | Type        | Required | Description                                           |
| -------------------- | ----------- | -------- | ----------------------------------------------------- |
| `project_reference`  | string      |          | Project ID or slug that owns the workflow.            |
| `workflow_id`        | string      | Yes      | Existing workflow identifier to update.               |
| `description`        | string,null |          | Updated workflow description.                         |
| `version`            | string,null |          | Updated workflow version string.                      |
| `schedulable`        | boolean     |          | Updated schedulable flag for the workflow definition. |
| `source_target_kind` | string      |          | Provide the source target kind.                       |
| `target_branch_id`   |             |          | Provide the target branch id.                         |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_workflow",
    "arguments": {
      "workflow_id": "<workflow_id>"
    }
  }
}
```
