Create a workflow on a live n8n instance
workflow_createCreate a workflow on a live n8n instance (requires N8N_API_URL + N8N_API_KEY). Strips read-only fields (id, active, createdAt, ...) before posting. Workflows are created inactive — call workflow_activate afterward. Pairs with workflow_generate for end-to-end 'describe -> deploy'.
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": "<workflow>"
},
"name": "workflow_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Workflow JSON to create (typically the output of workflow_generate). Either a parsed object or a JSON string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID assigned by n8n to the new workflow. | |
| name | Yes | The name of the newly created workflow. | |
| workflow | Yes | Full n8n workflow JSON (name, nodes, connections, settings, ...). |