create_node
Create a new node in an existing n8n workflow by specifying the workflow ID, node type, and optional configuration such as name, position, and parameters.
Instructions
Create a new node in an existing n8n workflow
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": {
"workflowId": "<workflowId>",
"type": "<type>"
},
"name": "create_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow ID | |
| type | Yes | The node type (e.g., n8n-nodes-base.webhook) | |
| name | No | Optional name for the node | |
| params | No | Optional node parameters | |
| position | No | Optional [x, y] position | |
| credentials | No | Optional credentials configuration |