get_related_sections
Gets structural and semantic related sections from a documentation repository, including siblings, children, parent, and top-N cosine matches, to enable precise section navigation.
Instructions
v2.0+ related-section graph. Returns structural neighbors (siblings, children, parent, optional cousins) and semantic neighbors (top-N cosine over stored embeddings, score >= min_score). mode: structural | semantic | both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| section_id | Yes | ||
| mode | No | both | |
| top_n | No | ||
| min_score | No | ||
| max_per_kind | No |