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.

Arguments

  • project_referencestring

    Project ID or slug that owns the workflow.

  • workflow_idstring · min length 1required

    Existing workflow identifier to update.

  • descriptionstring | null

    Updated workflow description.

  • versionstring | null

    Updated workflow version string.

  • schedulableboolean

    Updated schedulable flag for the workflow definition.

  • source_target_kindstring

    Provide the source target kind.

  • target_branch_idstring · uuid | null

    Provide the target branch id.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_workflow",    "arguments": {      "workflow_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":\"string\",\"source_path\":\"string\",\"source\":\"string\",\"version\":\"string\",\"schedulable\":false,\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}"      }    ],    "structuredContent": {      "id": "string",      "name": "string",      "description": "string",      "target": "string",      "source_path": "string",      "source": "string",      "version": "string",      "schedulable": false,      "edit_mode": "structured",      "source_only_reasons": [        "string"      ]    }  }}

The tool ran; its output is result.structuredContent.