connect
Link two memories to build a knowledge graph, connecting decisions to rationale or patterns to examples.
Instructions
Create a relationship between two memories. Build knowledge graphs by linking decisions to rationale, patterns to examples, etc.
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": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional notes about the relationship | |
| source_id | Yes | First memory ID | |
| target_id | Yes | Second memory ID | |
| relationship | No | Type: RELATED_TO, LEADS_TO, SUPPORTS, CONTRADICTS, DEPENDS_ON | RELATED_TO |