veryfront__get_workflow
Requires project.runs.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
workflow_id | string | Yes | Workflow ID from list_workflows, for example publish-site |
runtime_target_kind | string or null | No | Provide the runtime target kind. |
target_environment_id | string or null | No | Provide the target environment id. |
target_branch_id | string or null | No | Provide the target branch id. |
source_target_kind | string | No | Provide the source target kind. Values: "project", "main_branch", "environment", "preview_branch". |
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__get_workflow",7 "arguments": {8 "workflow_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. |
edit_mode | string | Yes | Editing mode supported for the workflow definition; source_only definitions reject update_workflow with source_only_conflict. Values: "structured", "source_only". |
version | string or null | Yes | Version string for the workflow definition, when tracked. |
input_schema | object or null | Yes | Structured input schema for workflow execution, when defined. |
output_schema | object or null | Yes | Structured output schema for workflow execution, when defined. |
schedulable | boolean | Yes | Whether the workflow can be triggered by schedulers or automations. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "workflow_id": {9 "type": "string",10 "description": "Workflow ID from list_workflows, for example publish-site"11 },12 "runtime_target_kind": {13 "anyOf": [14 {15 "type": "string",16 "enum": [17 "main_branch",18 "environment",19 "preview_branch"20 ],21 "description": "Provide the runtime target kind."22 },23 {24 "type": "null",25 "description": "Provide the runtime target kind."26 }27 ],28 "description": "Provide the runtime target kind."29 },30 "target_environment_id": {31 "anyOf": [32 {33 "type": "string",34 "format": "uuid",35 "description": "Provide the target environment id."36 },37 {38 "type": "null",39 "description": "Provide the target environment id."40 }41 ],42 "description": "Provide the target environment id."43 },44 "target_branch_id": {45 "anyOf": [46 {47 "type": "string",48 "format": "uuid",49 "description": "Provide the target branch id."50 },51 {52 "type": "null",53 "description": "Provide the target branch id."54 }55 ],56 "description": "Provide the target branch id."57 },58 "source_target_kind": {59 "type": "string",60 "enum": [61 "project",62 "main_branch",63 "environment",64 "preview_branch"65 ],66 "description": "Provide the source target kind."67 }68 },69 "required": [70 "workflow_id"71 ],72 "additionalProperties": false,73 "$schema": "http://json-schema.org/draft-07/schema#",74 "description": "Arguments for the get_workflow tool."75}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 "edit_mode": {28 "type": "string",29 "enum": [30 "structured",31 "source_only"32 ],33 "description": "Editing mode supported for the workflow definition; source_only definitions reject update_workflow with source_only_conflict."34 },35 "version": {36 "type": [37 "string",38 "null"39 ],40 "description": "Version string for the workflow definition, when tracked."41 },42 "input_schema": {43 "anyOf": [44 {45 "type": "object",46 "additionalProperties": {47 "description": "Additional structured values associated with this result."48 },49 "description": "Structured input schema details associated with this tool result."50 },51 {52 "type": "null",53 "description": "The input schema returned by the tool."54 }55 ],56 "description": "Structured input schema for workflow execution, when defined."57 },58 "output_schema": {59 "anyOf": [60 {61 "type": "object",62 "additionalProperties": {63 "description": "Additional structured values associated with this result."64 },65 "description": "Structured output schema details associated with this tool result."66 },67 {68 "type": "null",69 "description": "The output schema returned by the tool."70 }71 ],72 "description": "Structured output schema for workflow execution, when defined."73 },74 "schedulable": {75 "type": "boolean",76 "description": "Whether the workflow can be triggered by schedulers or automations."77 }78 },79 "required": [80 "id",81 "name",82 "description",83 "target",84 "source_path",85 "edit_mode",86 "version",87 "input_schema",88 "output_schema",89 "schedulable"90 ],91 "additionalProperties": false,92 "description": "Workflow definition returned by MCP workflow tools.",93 "$schema": "http://json-schema.org/draft-07/schema#"94}