pine_get_source
Reads the active Pine Script source code from TradingView's Monaco editor before refactoring, fixing errors, or saving. Requires the Pine Editor bottom dock panel to be open.
Instructions
Get current Pine Script source code from the active TradingView Monaco editor model. WHEN TO USE: Call before refactoring, fixing errors, or saving an existing Pine script. SIDE EFFECTS: None (Read-only). LIMITATIONS: Requires Pine Editor bottom dock panel to be open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||