find_broken_links_tool
Identify and list all broken links in your Obsidian vault or a specific directory. Use this tool after renaming or deleting notes, during regular maintenance, or before reorganizing your folder structure for efficient link management.
Instructions
Find all broken links in the vault or a specific directory.
When to use:
- After renaming or deleting notes
- Regular vault maintenance
- Before reorganizing folder structure
- Cleaning up after imports
When NOT to use:
- Checking links in a single note (use get_outgoing_links with check_validity)
- Finding backlinks (use get_backlinks)
Returns:
All broken links grouped by source note
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ctx | No | ||
directory | No | Specific directory to check (optional, defaults to entire vault) |
Input Schema (JSON Schema)
{
"properties": {
"ctx": {
"default": null,
"title": "Ctx"
},
"directory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Specific directory to check (optional, defaults to entire vault)",
"examples": [
null,
"Projects",
"Archive/2023"
],
"title": "Directory"
}
},
"type": "object"
}