pine_save_new
Create a new cloud Pine script from supplied source, refuse duplicate names, and independently verify new ID/version/full source. Leaves the editor binding unchanged.
Instructions
Create a new cloud Pine script from supplied source, refuse duplicate names, and independently verify new ID/version/full source. Leaves the editor binding unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source | Yes | ||
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| timeout_ms | No | ||
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |