get_broken_links_fs_tool
Scan markdown files to identify wikilinks pointing to non-existent notes. Returns broken links grouped by source note.
Instructions
Find all broken wikilinks in the vault (filesystem-native, no Obsidian required).
This tool uses direct filesystem access to scan all markdown files and identify wikilinks pointing to non-existent notes. Works without requiring Obsidian to be running.
When to use:
After renaming or deleting notes
Regular vault maintenance and cleanup
Before reorganizing folder structures
Identifying orphaned link references
Performance:
1,000 notes: < 10 seconds
10,000 notes: < 100 seconds
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": "get_broken_links_fs_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | No | Path to vault root (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |