get_doc
Retrieve Pine Script v6 documentation files to access function references, syntax details, and code examples for accurate trading indicator development.
Instructions
Read a specific Pine Script v6 documentation file.
For large files (ta.md, strategy.md, collections.md, drawing.md, general.md) prefer list_sections() + get_section() to avoid loading 1000-2800 line files into context.
Args: path: Relative path to the documentation file (e.g., "reference/functions/ta.md") limit: Maximum characters to return. Use 30000 for large files to avoid token limits. offset: Character offset to start reading from (default: 0)
Returns the contents with metadata header showing total size and current slice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No |