hydra_write_workflow
Writes a validated ETL workflow to a specified path, allowing job and action steps with dependency lists for parallel execution. Skips writing entirely if validation fails.
Instructions
Write a workflow, AFTER validation. A step is either type='job' with the path of a job folder, or type='action'. depends_on is ALWAYS a list: steps with no dependency in common run in parallel. If validation fails, nothing is written.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow_path": "<workflow_path>",
"workflow_yaml": "<workflow_yaml>"
},
"name": "hydra_write_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_path | Yes | ||
| workflow_yaml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |