diagram_edge
Connect, relabel, or remove wires between diagram steps. Reusing the same endpoints updates the label instead of adding a duplicate edge.
Instructions
Wire two steps of a diagram together, relabel that wire, or remove it.
Calling again with the same endpoints updates the label instead of adding a second edge between them.
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": {
"uid": "<uid>",
"from_key": "<from_key>",
"to_key": "<to_key>"
},
"name": "diagram_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | the diagram. | |
| label | No | the condition on a branch out of a decision node ('yes', 'no', 'on timeout'). | |
| delete | No | removes the edge between from_key and to_key. | |
| to_key | Yes | the step it reaches. | |
| from_key | Yes | the step the edge leaves. |