get_links
Retrieve all incoming and outgoing links for a memory, optionally filtered by relation type, to view connections in the memory graph.
Instructions
Get all links for a memory.
Shows both incoming and outgoing connections in the memory graph.
Args: memory_id: UUID of the memory. relation: Optional relation type filter (e.g. "related", "causes", "supports").
Returns: JSON string with links list.
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": {
"memory_id": "<memory_id>"
},
"name": "get_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation | No | ||
| memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |