layout_switch
Switch to a saved chart layout by name or ID, halting if unsaved changes exist unless discard_unsaved is set.
Instructions
Switch to a saved chart layout by name or ID. Stops rather than discarding unsaved changes on the current chart unless discard_unsaved is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or ID of the layout to switch to | |
| discard_unsaved | No | Throw away unsaved changes on the current chart. Without this, a chart with unsaved work stops the switch instead of losing it. |