mdan_graph_add_edge
Adds a relationship between two nodes in the context graph, rejecting cycles to keep the graph valid.
Instructions
Add a relationship between two nodes of the context graph (cycles are rejected)
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": {
"source": "<source>",
"target": "<target>"
},
"name": "mdan_graph_add_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source node ID | |
| target | Yes | Target node ID | |
| relation | No | Relation type | input_to |