list_docs
List all available Pine Script v6 documentation files with descriptions.
Returns files organised by category with descriptions.
For small files use get_doc(path). For large files
(ta.md, strategy.md, collections.md, drawing.md, general.md)
use list_sections(path) then get_section(path, header).
list_sections
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.
get_doc
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.
get_section
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.
search_docs
Search Pine Script v6 documentation and return matching sections.
Finds sections containing the query and returns previews with
get_section() call hints so you can read the full content.
get_functions
Get valid Pine Script v6 functions, optionally filtered by namespace.
Use before writing Pine Script to see which functions exist.
For checking a single function name, use validate_function() instead.