link_memories
Create a directed link between two memories to define relationships. Specify source, target, and relation type.
Instructions
Create a directed link between two memories.
Args:
source_id: UUID of the source memory.
target_id: UUID of the target memory.
relation: Type of relationship (default 'related').
Returns:
JSON string with the created link details.
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": "link_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation | No | related | |
| source_id | Yes | ||
| target_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |