section_neighbors
Find adjacent sections (previous, next, parent, first child) for a given section ID to enable fast sequential documentation navigation without additional search queries.
Instructions
v1.37+ — return prev/next siblings (in document order), parent, and first child for a section. Handles only (id, title, level, doc_path) — no content. Use for fast sequential navigation without re-querying search_sections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (owner/repo or just repo name) | |
| section_id | Yes | Target section ID from get_toc, search_sections, etc. |