list_sections
Extract section headers from Pine Script documentation files to navigate large reference documents efficiently before retrieving specific content.
Instructions
List all section headers in a doc file. Use before get_section() to find the right header.
Especially useful for large files like ta.md, strategy.md, collections.md, drawing.md, general.md which have 50-115 sections each.
Args: path: Documentation file path (e.g., "reference/functions/ta.md")
Returns top-level section headers (## level) for navigation. Subsections (###) are omitted since get_section(include_children=True) returns them when reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |