link_memories
Create directed links between stored memories to build structured relationships and knowledge graphs using specified relationship types.
Instructions
Create a link between two memories with a relationship type
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_key": "<source_key>",
"target_key": "<target_key>",
"relationship_type": "<relationship_type>"
},
"name": "link_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_key | Yes | The source memory key | |
| target_key | Yes | The target memory key | |
| relationship_type | Yes | Type of relationship (e.g., related_to, depends_on) |