Link Memories
link_memoriesCreate a directed link from one of the caller's personal memories to another in the same space.
edge_kind says how the from memory relates to the to memory. Linking a pair that is already linked with the same kind returns that link with changed=false. Errors: NotFound (a memory is not visible to you), InvalidArgument (the same memory twice, or an unknown kind), Conflict.
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_memory_id": "<from_memory_id>",
"to_memory_id": "<to_memory_id>"
},
"name": "link_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_kind | No | supports, contradicts, derives_from, or references (default). | references |
| to_memory_id | Yes | memory_id (UUID) of the memory the link points to; must differ from from_memory_id. | |
| from_memory_id | Yes | memory_id (UUID) of the memory the link starts from. |