get_backlinks
Find every indexed section that links to a target document, revealing which wiki pages reference it when source content changes.
Instructions
Find all sections that link TO a given document (inverse reference graph). Useful for the LLM Wiki pattern: when a source changes, find which wiki pages reference it. Output: list of {source_file, source_section, source_section_id, link}. Counts links found inside indexed docs only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (owner/repo or just repo name) | |
| doc_path | Yes | Target document path to find backlinks for (e.g., 'raw/article.md' or 'wiki/concepts/auth.md') |