section_neighbors
Retrieve the previous, next, parent, and first child sections of a target section ID for fast sequential navigation without re-querying.
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. |