Read the editable source behind one workflow before changing it; returns the workflow source document with its source text, edit mode and the reasons it can only be edited as source. Requires project.runs.read.
Arguments
project_referencestringProject ID or slug
workflow_idstringrequiredWorkflow ID from list_workflows
runtime_target_kindstring | nullProvide the runtime target kind.
target_environment_idstring · uuid | nullProvide the target environment id.
target_branch_idstring · uuid | nullProvide the target branch id.
source_target_kindstringProvide the source target kind. One of
project,main_branch,environment,preview_branch.
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__read_workflow_source", "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.