get_pine_source
Retrieve the full Pine source code of your own saved TradingView scripts for review or improvement. Accepts only USER script IDs from list_pine_scripts and is read-only.
Instructions
Get the full Pine source code of one of the user's OWN saved scripts, for review or improvement suggestions. Only 'USER;...' ids from list_pine_scripts are accepted; published/protected third-party scripts are refused. Read-only — editing or saving scripts is not supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pine_id | Yes | Script id from list_pine_scripts, e.g. 'USER;adc40b1dfee344f19412f1ae9af74f3f' | |
| version | No | Version to fetch, e.g. '3'. Default: 'last'. Older versions are how you revert a bad save |