Find Broken Links
find_broken_linksIdentify wikilinks that point to non-existent notes in an Obsidian vault. Returns grouped results by source note with broken link text and line numbers. Useful for cleaning up dangling references after renaming or deleting notes.
Instructions
Scan notes for wikilinks ([[target]]) whose target does not resolve to any existing note in the vault. Returns a per-source report grouping each note with its broken link text and line numbers, plus a total count. Use after renaming, moving, or deleting notes to catch dangling references. Resolution uses the whole vault even when scanning a single folder, so only truly unresolvable links are reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Restrict the scan to notes within this folder (resolution still uses the entire vault). Omit to scan every note. | |
| maxResults | No | Maximum broken link entries to show (1-5000, default: 200). Grouped by source note. Remaining matches are summarized. |