get_link_graph_tool
Build a complete link graph of all note connections in your Obsidian vault, tracking inlinks, outlinks, and link types to analyze vault structure and connectivity.
Instructions
Get complete link graph for the vault (filesystem-native, offline).
Builds a comprehensive graph of all note connections, tracking:
Inlinks (notes linking TO each note)
Outlinks (notes linked FROM each note)
Link types (wikilinks, markdown links, embeds)
When to use:
Understanding vault structure and relationships
Analyzing note connectivity
Building visualization data
Identifying connection patterns
Performance:
1,000 notes: < 10 seconds
10,000 notes: < 100 seconds
Returns: Complete link graph with all note connections and link type counts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |