get_neighbors
Lists the titles of notes within a set number of wikilink hops from one note, following links in both directions, so you can see what surrounds it without loading the whole vault.
Instructions
What is around ONE note in the [[wikilink]] graph, out to depth hops: a flat list of titles, no node indices to decode and no whole-vault payload. For the shape of that neighbourhood — which of them link to each other — use get_graph with root_title instead.
Traversal is undirected: a note linking HERE counts as much as one linked FROM here. links_out/links_in describe the direct relation and appear only at depth 1 — two hops out, "which way does the arrow point" has no answer. Each note appears once, at the shortest depth that reaches it.
These are links people wrote, not similarity: a note on the same subject that nobody linked is not here, and an empty result is a fact about the writing rather than about the topic. Rows carry the title, which is what get_note, get_backlinks and this tool all take.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | UUID of the note whose surroundings you want | |
| depth | No | Hops to walk. 1 = directly linked notes; each extra hop widens the set fast | |
| limit | No | Maximum neighbours to return, nearest depth first. `total` still counts them all | |
| title | No | Alternative to id; resolved like get_note (exact, then prefix, then substring) |