change_theme
Changes the visual theme and brand tokens of the user's EXISTING site across the entire storefront (header, footer, homepage, all content pages, and product detail pages) without altering page copy. Supports all 16 curated themes ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant') plus Basic and Advanced color/typography overrides. UI/UX & ANTI-SLOP RULES: Maintain strict WCAG AA+ contrast (4.5:1+); never pair dark text with dark card/background surfaces or light text with light surfaces. Follow 60-30-10 color balance (60% neutral surface, 30% card/border structure, 10% primary CTA & accent highlights).
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": {
"theme": "<theme>"
},
"name": "change_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | The curated theme preset to apply across the site. | |
| siteId | No | Optional Site ID. If omitted, applies to the user's active website. | |
| cardColor | No | Optional custom card / box surface hex color (--card). | |
| textColor | No | Optional main heading & body text hex color (--foreground). Must contrast strongly with backgroundColor and cardColor. | |
| fontFamily | No | Optional global font family (e.g. "'Inter', sans-serif", "'Plus Jakarta Sans', sans-serif", "'Playfair Display', serif", "'Lora', serif", "'Space Grotesk', sans-serif", "'Outfit', sans-serif"). | |
| isDarkMode | No | Optional global contrast toggle: true for Dark Mode surfaces, false for Light Mode surfaces. | |
| accentColor | No | Optional secondary badge / highlight hex color (e.g. '#f59e0b', '#10b981'). | |
| borderColor | No | Optional card border & divider hex color (--border). | |
| primaryColor | No | Optional primary brand / CTA button hex color (e.g. '#ea580c', '#059669', '#2563eb'). | |
| mutedTextColor | No | Optional subtitle / secondary text hex color (--muted-foreground). | |
| backgroundColor | No | Optional custom page canvas background hex color (--background). | |
| buttonTextColor | No | Optional text hex color inside primary buttons (e.g. '#ffffff'). | |
| resetAdvancedOverrides | No | Set true to clear custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor overrides back to the theme's curated defaults. |