create_workflow
Create a new workflow from JSON with offline validation. Workflows are created inactive—activate afterwards.
Instructions
Create a new workflow from JSON (name, nodes, connections, settings). Runs offline validation first and refuses to create invalid workflows unless skipValidation=true. New workflows are created inactive — use activate_workflow afterwards.
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": {
"name": "<name>",
"nodes": "<nodes>",
"connections": "<connections>"
},
"name": "create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name | |
| nodes | Yes | Workflow nodes | |
| connections | Yes | Connections object keyed by source node name, e.g. {"Webhook": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}} | |
| settings | No | Workflow settings (executionOrder, errorWorkflow, timezone, ...) | |
| skipValidation | No | Create even if offline validation finds errors |