pinescript_reference
Search PineScript documentation using semantic matching and synonym expansion. Retrieve results in JSON or stream format.
Instructions
Search PineScript documentation with enhanced semantic matching and streaming support for large result sets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "pinescript_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search term or topic with synonym expansion (e.g., "array functions", "style guide naming", "syntax rules") | |
| format | No | Output format: json (all results), stream (chunked delivery) | json |
| version | No | PineScript version (default: v6) | v6 |
| max_results | No | Maximum results to return (default: 10, max: 100) |