find_broken_links_tool
Identify broken links in your Obsidian vault or a specific directory to fix references after renaming or deleting notes.
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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_broken_links_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Specific directory to check (optional, defaults to entire vault) | |
| ctx | No |