search_docs
Search Pine Script v6 documentation to find relevant sections for coding queries, returning previews with references to access full content.
Instructions
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.
Args: query: Exact string to search for (case-insensitive). max_results: Maximum sections to return (default: 5)
Returns matching sections ranked by relevance with get_section() hints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |