get_toc_tree
Retrieve a nested table of contents tree for documentation files to see heading hierarchy and navigate sections without reading full content, reducing token usage.
Instructions
Get a nested table of contents tree per document. Shows parent/child heading relationships. Content is excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (owner/repo or just repo name) | |
| path_glob | No | v1.36+ — fnmatch glob restricting results to matching doc_paths. Default: no filter. |