read_resource
Retrieve Pine Script documentation content by URI to access functions, syntax validation, and code generation resources for accurate development.
Instructions
Read a resource by its URI.
For static resources, provide the exact URI. For templated resources, provide the URI with template parameters filled in.
Returns the resource content as a string. Binary content is base64-encoded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The URI of the resource to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |