get_section
Extract specific sections from Pine Script documentation files by header to retrieve targeted information for coding assistance.
Instructions
Get a specific section from a documentation file by its header.
Use after list_sections() shows available headers, or after resolve_topic() / search_docs() identifies the relevant file.
Args: path: Documentation file path (e.g., "reference/functions/strategy.md") header: Header text to find (e.g., "strategy.exit()" or "## strategy.exit()") include_children: Include nested subsections under the header (default: True)
Returns the section content from the header to the next same-level header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| header | Yes | ||
| include_children | No |