Search Documentation
Search across all documentation pages
get_links
Get knowledge graph links for a note or memory. Returns outgoing, incoming, or both directions. Use this to explore connections between notes and memories in the knowledge graph.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| nodeType | string | required | Type of the node to get links for: note or memory |
| nodeId | string (UUID) | required | ID of the note or memory |
| direction | string | optional | Link direction filter: outgoing, incoming, or both (default: both) |
| limit | integer (1-200) | optional | Max links to return (default 50) |
Returns#
An array of link objects, each containing the link ID, source and target node info, relationship type, and optional label.
Example#
json
{
"tool": "get_links",
"arguments": {
"nodeType": "note",
"nodeId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"direction": "both",
"limit": 20
}
}