get_backlinks
Find all sections linking to a target document, identifying which wiki pages reference it when the source 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}.
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') |