pine_open
Load a saved Pine Script into the editor buffer, replacing existing content. Confirm overwrite when unsaved work is present; for read-only access, retrieve source without modifying the buffer.
Instructions
Load a saved Pine Script into the editor buffer. THIS REPLACES THE BUFFER and does not guarantee the editor is bound to that script - check binding_verified before any pine_save. To READ a script with no buffer risk, use pine_get_script_source instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the saved script to open (case-insensitive; exact name or title wins, an ambiguous substring is refused with candidates) | |
| confirm_overwrite | No | Required to replace a buffer that holds real work. Without it the call is refused rather than destroying unsaved code, same as pine_new and pine_set_source. |