get_link_graph_tool
Return a traversable link graph from any note, following outgoing, incoming, or both directions up to a specified depth to reveal note connections.
Instructions
Return a traversable link graph starting from a note.
direction: 'outgoing' | 'incoming' | 'both'.
path is the resolved root note; data: {nodes: [{path, title, tags}],
edges: [{from, to, type}]}.
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": {
"root": "<root>"
},
"name": "get_link_graph_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| depth | No | ||
| vault | No | ||
| direction | No | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||