connect_nodes
Connect two nodes in an n8n workflow by specifying workflow ID, source node with output index, and target node with input index.
Instructions
Connect two nodes in an 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>",
"from": "<from>",
"to": "<to>"
},
"name": "connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | ||
| from | Yes | ||
| to | Yes |