create_edge
Creates directed relationships between existing project nodes, requiring the destination to exist and preventing dangling edges; re-parent part_of links only after deleting the old edge.
Instructions
Create a directed edge. STRICT (pin R2): dst must already exist -- raises not_found otherwise, no dangling-edge creation via this tool. A part_of edge when src already has a different part_of parent raises collision; call delete_edge first to re-parent.
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": {
"src": "<src>",
"dst": "<dst>",
"type": "<type>"
},
"name": "create_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | ||
| src | Yes | ||
| type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | ||
| src | Yes | ||
| type | Yes | ||
| warnings | No | ||
| dst_exists | No |