Workflows: seed
workflows_seedSeed a new workflow and its linked steps from a JSON file, filling {{KEY}} placeholders. Each run creates a separate copy.
Instructions
Create a workflow and its steps from a JSON file. Reads a JSON file on this machine in the workflows_export format (name, trigger or triggers, and steps with key, action, parameters and on_success/on_failure by step key), fills {{KEY}} placeholders from var, then creates the workflow, adds its steps and links them. It always creates a new workflow, so running it twice makes two copies.
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": {
"file": "<file>"
},
"name": "workflows_seed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var | No | Substitute {{KEY}} placeholders in the JSON. Repeatable. | |
| file | Yes | Path to a workflow JSON file (use `workflows export` to produce one) | |
| enabled | No | Override the workflow's enabled flag to true |