store_edge
Link two stored nodes in a knowledge graph after adding them, preserving structure, tracking updates, and flagging conflicts.
Instructions
Create a relationship between two stored nodes. Use this immediately after storing related nodes so the memory graph preserves structure, updates, and conflicts.
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>",
"relationship": "<relationship>"
},
"name": "store_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Optional strength of the relationship. | |
| source_id | Yes | Source node ID. | |
| target_id | Yes | Target node ID. | |
| relationship | Yes | Relationship between the two nodes. |