# veryfront__read_workflow_source

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.

Risk: read\_only.

## Arguments

| Name                    | Type   | Required | Description                        |
| ----------------------- | ------ | -------- | ---------------------------------- |
| `project_reference`     | string |          | Project ID or slug                 |
| `workflow_id`           | string | Yes      | Workflow ID from list\_workflows   |
| `runtime_target_kind`   |        |          | Provide the runtime target kind.   |
| `target_environment_id` |        |          | Provide the target environment id. |
| `target_branch_id`      |        |          | Provide the target branch id.      |
| `source_target_kind`    | string |          | Provide the source target kind.    |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__read_workflow_source",
    "arguments": {
      "workflow_id": "<workflow_id>"
    }
  }
}
```
