# veryfront__create_workflow

Create a workflow source file in the project source or a preview branch when a new multi-step process must be runnable or schedulable; returns the workflow source document. Requires project.runs.write.

Risk: mutating.

## Arguments

| Name                 | Type        | Required | Description                                                |
| -------------------- | ----------- | -------- | ---------------------------------------------------------- |
| `project_reference`  | string      |          | Project ID or slug that owns the new workflow.             |
| `id`                 | string      | Yes      | Stable workflow identifier used in MCP and project source. |
| `description`        | string,null |          | Optional short description of what the workflow does.      |
| `version`            | string,null |          | Optional workflow version string.                          |
| `schedulable`        | boolean     |          | Whether the workflow can be triggered by schedulers.       |
| `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__create_workflow",
    "arguments": {
      "id": "<id>"
    }
  }
}
```
