create_edge
Establish relationships between knowledge nodes in a shared graph for AI coding agents. Define connections like answers, solves, depends_on, or derived_from to link technical information.
Instructions
Create a relationship edge between two knowledge nodes.
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_id": "<source_id>",
"target_id": "<target_id>",
"relation": "<relation>"
},
"name": "create_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | Source node UUID | |
| target_id | Yes | Target node UUID | |
| relation | Yes | Edge relation type | |
| weight | No | Edge weight (0-10, default 1.0) |