veryfront__create_workflow
Requires project.runs.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug that owns the new workflow. |
id | string | Yes | Stable workflow identifier used in MCP and project source. Minimum length: 1. Maximum length: 128. |
description | string or null | No | Optional short description of what the workflow does. |
version | string or null | No | Optional workflow version string. |
schedulable | boolean | No | Whether the workflow can be triggered by schedulers. |
source_target_kind | string | No | Provide the source target kind. |
target_branch_id | string or null | No | Provide the target branch id. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_workflow",7 "arguments": {8 "id": "example"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Workflow identifier. |
name | string | Yes | Human-readable workflow name. |
description | string or null | Yes | Short description of the workflow purpose. |
target | string | Yes | Execution target that implements the workflow. |
source_path | string | Yes | Source file path where the workflow definition lives. |
source | string | Yes | Workflow source code or structured document content. |
version | string or null | Yes | Version string for the workflow definition, when tracked. |
schedulable | boolean | Yes | Whether the workflow can be triggered by schedulers. |
edit_mode | string | Yes | Editing mode supported for the workflow definition. Values: "structured", "source_only". |
source_only_reasons | string[] | Yes | Reasons why the workflow can only be edited as raw source, when applicable. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug that owns the new workflow."7 },8 "id": {9 "type": "string",10 "minLength": 1,11 "maxLength": 128,12 "pattern": "^[a-z0-9][a-z0-9-]*$",13 "description": "Stable workflow identifier used in MCP and project source."14 },15 "description": {16 "type": [17 "string",18 "null"19 ],20 "description": "Optional short description of what the workflow does."21 },22 "version": {23 "type": [24 "string",25 "null"26 ],27 "description": "Optional workflow version string."28 },29 "schedulable": {30 "type": "boolean",31 "description": "Whether the workflow can be triggered by schedulers."32 },33 "source_target_kind": {34 "type": "string",35 "description": "Provide the source target kind."36 },37 "target_branch_id": {38 "anyOf": [39 {40 "type": "string",41 "format": "uuid",42 "description": "Provide the target branch id."43 },44 {45 "type": "null",46 "description": "Provide the target branch id."47 }48 ],49 "description": "Provide the target branch id."50 }51 },52 "required": [53 "id"54 ],55 "additionalProperties": false,56 "description": "Arguments for creating a workflow definition.",57 "$schema": "http://json-schema.org/draft-07/schema#"58}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Workflow identifier."7 },8 "name": {9 "type": "string",10 "description": "Human-readable workflow name."11 },12 "description": {13 "type": [14 "string",15 "null"16 ],17 "description": "Short description of the workflow purpose."18 },19 "target": {20 "type": "string",21 "description": "Execution target that implements the workflow."22 },23 "source_path": {24 "type": "string",25 "description": "Source file path where the workflow definition lives."26 },27 "source": {28 "type": "string",29 "description": "Workflow source code or structured document content."30 },31 "version": {32 "type": [33 "string",34 "null"35 ],36 "description": "Version string for the workflow definition, when tracked."37 },38 "schedulable": {39 "type": "boolean",40 "description": "Whether the workflow can be triggered by schedulers."41 },42 "edit_mode": {43 "type": "string",44 "enum": [45 "structured",46 "source_only"47 ],48 "description": "Editing mode supported for the workflow definition."49 },50 "source_only_reasons": {51 "type": "array",52 "items": {53 "type": "string"54 },55 "description": "Reasons why the workflow can only be edited as raw source, when applicable."56 }57 },58 "required": [59 "id",60 "name",61 "description",62 "target",63 "source_path",64 "source",65 "version",66 "schedulable",67 "edit_mode",68 "source_only_reasons"69 ],70 "additionalProperties": false,71 "description": "Workflow definition including editable source content.",72 "$schema": "http://json-schema.org/draft-07/schema#"73}