nodes.addConnected
Create a new node and connect it to an existing node in Circuitry's visual workflow platform, enabling AI agents to build and expand visual diagrams.
Instructions
Create a new node and connect it to an existing node.
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": {
"sourceNodeId": "<sourceNodeId>",
"direction": "<direction>",
"type": "<type>"
},
"name": "nodes.addConnected"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceNodeId | Yes | ID of the node to connect from | |
| direction | Yes | Direction to place new node | |
| type | Yes | Type of node to create | |
| name | No | Display name for new node | |
| config | No | Node configuration |