The graph tool enables AI to navigate and analyze your vault's link structure, understanding connections between notes.
Your Obsidian vault is a knowledge graph where:
- Nodes are your notes
- Edges are links between notes (both explicit links and tag connections)
- Paths are routes through the graph connecting concepts
Get immediate connections of a note.
{
"action": "neighbors",
"sourcePath": "concepts/machine-learning.md",
"includeUnresolved": false // Include links to non-existent notes
}Explore connections up to a certain depth.
{
"action": "traverse",
"sourcePath": "projects/current-project.md",
"maxDepth": 3, // How many hops from source
"maxNodes": 50, // Limit total nodes returned
"followBacklinks": true,
"followForwardLinks": true,
"followTags": true
}Find connection paths between two notes.
{
"action": "path",
"sourcePath": "philosophy/consciousness.md",
"targetPath": "neuroscience/neural-networks.md"
}Get graph statistics for a note or the entire vault.
{
"action": "statistics",
"sourcePath": "index.md" // Optional - omit for vault stats
}Returns:
- Total links (in/out)
- Connectivity score
- Central nodes
- Orphaned notes
Find all notes linking TO a specific note.
{
"action": "backlinks",
"sourcePath": "concepts/important-idea.md"
}Find all notes linked FROM a specific note.
{
"action": "forwardlinks",
"sourcePath": "index.md"
}Combine search with graph traversal - find related content across connected notes.
{
"action": "search-traverse",
"startPath": "research/ml-optimization.md",
"searchQuery": "gradient descent",
"maxDepth": 2,
"maxSnippetsPerNode": 2,
"scoreThreshold": 0.5
}Sophisticated traversal with multiple search queries and strategies.
{
"action": "advanced-traverse",
"sourcePath": "projects/thesis.md",
"searchQueries": ["methodology", "results", "conclusion"],
"strategy": "best-first", // breadth-first, best-first, beam-search
"beamWidth": 5, // For beam-search
"maxDepth": 4
}Navigate through tag connections.
{
"action": "tag-traverse",
"sourcePath": "daily/2024-01-15.md",
"tagFilter": ["#project", "#important"],
"maxDepth": 3
}Analyze tag relationships and co-occurrences.
{
"action": "tag-analysis",
"sourcePath": "index.md" // Optional
}Find notes sharing tags with a source note.
{
"action": "shared-tags",
"sourcePath": "research/paper-1.md",
"minSharedTags": 2 // Minimum tags in common
}Explores all nodes at current depth before going deeper.
- Use when: You want comprehensive coverage
- Best for: Finding all related content
Prioritizes nodes with highest relevance scores.
- Use when: You want most relevant connections
- Best for: Focused research on specific topics
Keeps only top N candidates at each level.
- Use when: You need balanced coverage with quality
- Best for: Large vaults where full traversal is expensive
{
"fileFilter": "^research/.*\\.md$", // Regex pattern
"folderFilter": "projects/" // Only include from this folder
}{
"tagFilter": ["#important", "#review"],
"tagWeight": 0.8 // How much to prioritize tag connections
}{
"followBacklinks": true,
"followForwardLinks": true,
"followTags": false,
"includeUnresolved": false,
"includeOrphans": false
}Find all content related to a research topic across connected notes:
{
"action": "search-traverse",
"startPath": "research/main-topic.md",
"searchQuery": "key finding",
"maxDepth": 3,
"strategy": "best-first"
}Understand the structure around a concept:
{
"action": "traverse",
"sourcePath": "concepts/central-idea.md",
"maxDepth": 2,
"followTags": true
}Find potential connections between unlinked notes:
{
"action": "shared-tags",
"sourcePath": "ideas/new-idea.md",
"minSharedTags": 3
}See what would be affected by changing a note:
{
"action": "backlinks",
"sourcePath": "definitions/key-term.md"
}- Limit depth for large vaults: Start with depth 2-3
- Use filters aggressively: Folder and tag filters reduce search space
- Set maxNodes appropriately: Balance completeness with performance
- Start from hub notes: Index pages or MOCs (Maps of Content)
- Use multiple strategies: Try different traversal strategies for different goals
- Combine with search:
search-traverseis powerful for topic exploration
- Check for orphans regularly: Use statistics to find disconnected notes
- Analyze backlinks: High backlink counts indicate important notes
- Monitor link depth: Very deep requirements might indicate poor organization