get_local_graph
Return a BFS knowledge graph around a note, or the entire vault graph when no note is given. Pass a note and small depth to avoid slow whole-vault scans on large vaults.
Instructions
Return the local BFS knowledge graph around a note (or the full vault graph when note is omitted). Omitting note returns the whole-vault graph, which is large and slow on big vaults; pass note and a small depth when possible.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_local_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional center note path, title, or alias. | |
| depth | No | Neighborhood hop depth 1..5 (default 2; other values are clamped and the result reports the depth used). | |
| vault | No | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |