get_backlinks_tool
Locate all notes linking to a specific note to uncover connections, reference dependencies, and map relationships within your Obsidian vault.
Instructions
Find all notes that link to a specific note (backlinks).
When to use:
- Understanding which notes reference a concept or topic
- Discovering relationships between notes
- Finding notes that depend on the current note
- Building a mental map of note connections
When NOT to use:
- Finding links FROM a note (use get_outgoing_links)
- Searching for broken links (use find_broken_links)
Performance note:
- Fast for small vaults (<100 notes)
- May take several seconds for large vaults (1000+ notes)
- Consider using search_notes for specific link queries
Returns:
All notes linking to the target with optional context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_length | No | Number of characters of context to include | |
ctx | No | ||
include_context | No | Whether to include text context around links | |
path | Yes | Path to the note to find backlinks for |
Input Schema (JSON Schema)
{
"properties": {
"context_length": {
"default": 100,
"description": "Number of characters of context to include",
"maximum": 500,
"minimum": 50,
"title": "Context Length",
"type": "integer"
},
"ctx": {
"default": null,
"title": "Ctx"
},
"include_context": {
"default": true,
"description": "Whether to include text context around links",
"title": "Include Context",
"type": "boolean"
},
"path": {
"description": "Path to the note to find backlinks for",
"examples": [
"Daily/2024-01-15.md",
"Projects/AI Research.md"
],
"maxLength": 255,
"minLength": 1,
"pattern": "^[^/].*\\.md$",
"title": "Path",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}