memory_link
Creates an explicit directed, labeled, weighted relationship edge between two stored memories or concepts to build knowledge-graph links and dependency mappings.
Instructions
Create an explicit directed, labeled, weighted relationship edge between two memories or concepts in the native KAG vector-graph.
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>"
},
"name": "memory_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Edge weight (default 1.0) | |
| relation | No | Semantic relation label (e.g. OWNS, DEPENDS_ON, CAUSES) | OWNS |
| source_id | Yes | Source memory numeric ID | |
| target_id | Yes | Target memory numeric ID |