connect_nodes
Create connections between workflow nodes to establish data flow paths for testing and validation in n8n workflows.
Instructions
Create a main connection between two nodes in an existing 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>",
"source": "<source>",
"target": "<target>"
},
"name": "connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | ||
| source | Yes | ||
| target | Yes | ||
| sourceIndex | No | ||
| targetIndex | No |