Traverse the vault graph
traverse_graphNavigate the Obsidian link graph from any note. Discover connected notes and their relationships up to a configurable depth. Choose direction to find dependencies or backlinks, with an optional node limit for large vaults.
Instructions
Walk the link graph starting from a note. Returns nodes (notes) and edges (links) up to depth hops away. Use direction=both for a neighborhood, forward for what a note depends on, backward for what depends on it. Cap with max_nodes on large vaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Vault-relative path of the starting note. | |
| depth | No | ||
| direction | No | forward = follow outgoing links; backward = follow backlinks. | both |
| max_nodes | No | ||
| include_snippets | No | If true, include a short preview snippet for each node. |