get_note_connections_tool
Discover how notes are linked by exploring direct and indirect connections up to three levels deep. Returns both incoming and outgoing links with depth annotations.
Instructions
Get connection graph for a specific note (filesystem-native, offline).
Explores connections from a note up to specified depth:
Depth 1: Direct connections (notes linked from target)
Depth 2: Second-degree connections (notes linked from direct connections)
Depth 3: Third-degree connections
Provides both inlinks (backlinks) and outlinks with depth information.
When to use:
Understanding note relationships
Exploring local note neighborhoods
Finding related content
Building connection visualizations
Performance:
Depth 1: < 1 second
Depth 2: < 5 seconds
Depth 3: < 30 seconds
Returns: Connection graph with multi-level links and depth annotations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_name | Yes | Note name to analyze (with or without .md) | |
| depth | No | Connection depth to explore (1=direct, 2=second-degree, etc.) | |
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |