createWorkflowEdge
Connects two workflow nodes with an edge, optionally applying a condition, to define execution paths in a staged workflow.
Instructions
Connect two nodes with an edge
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>",
"sourceNodeId": "<sourceNodeId>",
"targetNodeId": "<targetNodeId>"
},
"name": "createWorkflowEdge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | No | Optional edge condition | |
| workflowId | Yes | ||
| sourceNodeId | Yes | ||
| targetNodeId | Yes |