relate
Create a typed link from one memory to another to record relationships and return the edge ID, so linked memories surface in graph-aware recall.
Instructions
Create a typed link from one memory to another. Returns the edge id.
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": {
"from": "<from>",
"to": "<to>",
"relation": "<relation>"
},
"name": "relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target memory id. | |
| from | Yes | Source memory id. | |
| relation | Yes | Relationship label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_id | Yes | Id of the created edge. |