swap_template
Switch between UI design presets during development without restarting the server. Maintains token overrides when needed for consistent component styling.
Instructions
Hot-swap the active preset without restarting the server. Useful for switching between client presets while building. Optionally preserves any runtime token overrides applied in the current session.
Args:
preset_id (string): The preset to switch to
preserve_overrides (boolean): Keep current overrides after swap (default: false)
Returns: New active preset summary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_id | Yes | The preset to switch to | |
| preserve_overrides | No | Keep current overrides after swap |