vault_neighborhood
Traverse the neighborhood of a note via wikilinks, seeing connected notes grouped by distance to find clusters and related context.
Instructions
Explore the graph neighborhood around a note by traversing wikilinks. Returns notes grouped by hop distance from the starting note, with frontmatter metadata for each node. Useful for understanding clusters, finding related context, and discovering connections. Paths in this tool's output are formatted as markdown links [vault-relative-path.md](obsidian://...) so users can Cmd/Ctrl-click to open in Obsidian. Preserve the link form when relaying paths to the user; pass only the bracket text (e.g. 01-Projects/Foo/note.md) to other vault tools' path arguments, never the full markdown link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the starting note (supports short names, e.g. 'devlog') | |
| depth | No | Traversal depth — how many hops to follow (default: 2, max: 5) | |
| direction | No | Link direction to follow (default: both) | both |
| semantic_limit | No | Max semantic results to include (default: 5) | |
| include_semantic | No | Append semantically related but unlinked notes (requires VAULT_PKM_OPENAI_KEY, default: false) |