list_vault_issues
Identify and list vault hygiene issues like orphan notes, unresolved links, broken anchors, and conflicted copies to maintain a clean Obsidian vault.
Instructions
List the vault-hygiene issues get_vault_stats only counts. kind:'orphans' returns note headers for notes with no inbound or outbound resolved links; kind:'unresolved_links' returns, grouped by source note, the wikilink targets that resolve to nothing (the notes with broken links); kind:'broken_anchors' returns, grouped by source note, the [[note#heading]] anchors that resolve to a note but not to any heading in it; kind:'conflicts' returns the unreconciled conflict copies (notes named "… (conflicted YYYY-MM-DD HHMMSS)") each paired with the original note they diverged from. Index-backed. For the grouped kinds, limit/offset count groups (source notes), not individual targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which issue list to return. | |
| limit | No | Maximum number of rows/groups to return (default 100; 0 = unbounded). For unresolved_links, this counts groups (source notes), not individual targets. | |
| offset | No | Rows/groups to skip, for pagination (default 0). | |
| include_context | No | For kinds unresolved_links/broken_anchors: decorate each target with the source line(s) containing it, as { line, text } (call-time reads over the returned window only). Errors on kinds orphans and conflicts (neither has links to contextualize). |