Broken Links
get_broken_linksList the links whose target is missing from the vault, each with the note that holds it.
Instructions
List the links whose target is missing from the vault, each with the note that holds it.
stats reports broken_link_count; a rename without update_links leaves such links behind. Links to attachments are not checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Only links in notes in this folder and its sub-folders, such as `"Journal"`; `""` for top-level notes only; omit for the whole vault. | |
| wait_for_pending_writes | No | Wait for recent index writes. On timeout, answer from the current index with _meta.index_stale=true. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |