Find Broken Links
links.brokenScan your Obsidian vault to find links that point to non-existent notes. Each result shows the source file, line number, link text, and unresolved target. This read-only tool helps identify broken links for later repair using notes.move.
Instructions
Find every link in the vault (or a directory subtree) whose target does not resolve to an existing note. Each result carries the source file, line number, link text, and unresolved target. Read-only. Pair with notes.move (with updateLinks:true) to fix them after moves.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Optional folder to scope the scan. Omit to scan the whole vault. | |
| vaultPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Number of items in `items`. | |
| items | Yes | List of result items; per-item shape depends on the tool. |