vault_traverse
Traverse the link graph from a starting note using BFS, with options for depth and direction (forward, backward, both) to map connected notes and edges.
Instructions
Explore the link graph around a note via BFS traversal.
Args: start: Starting note path. depth: How many hops to follow (default 2). direction: "forward" (outgoing links), "backward" (incoming), or "both".
Returns nodes with depth and directed edges (source → target).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| start | Yes | ||
| direction | No | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |