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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "layout_switch"
}
}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. |