swebsy_update_settings
Update site SEO, structured data, theme colors (light/dark), fonts, dark mode, and custom CSS for one page or site-wide. Match theme palette to a reference image.
Instructions
Update site settings — SEO title/description, site URL, structured data (JSON-LD), per-page SEO overrides, language, theme tokens (light + dark), Google fonts, dark mode toggle, and site-wide custom CSS for component-level restyling (globalTheme.customTailwindConfig). Provide ONLY the fields that change. general/seo are SITE-WIDE; use page to change ONE page. Also used to match the theme to a reference IMAGE's vibe: sample its palette into brand/surface tokens and ALWAYS set BOTH light and dark variants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | SITE-WIDE SEO. `siteUrl` is what makes robots.txt/sitemap.xml and canonical/og:url real — without it they ship the `https://yoursite.com` placeholder and the site is not indexable. | |
| page | No | SEO for the CURRENTLY SELECTED PAGE ONLY — the per-page overrides otherwise reachable just from the Pages panel. Use this whenever you mean one page: `general.title`/`general.description` are SITE-WIDE and setting them to fix one page silently rewrites the meta description of every other page. Each field overrides its site-wide counterpart for this page; omit a field to keep inheriting. Pass `null` as the whole object to clear every override. | |
| fonts | No | Google fonts to add/replace. Pass the full desired list — the array replaces what was there. | |
| general | No | ||
| summary | Yes | 1 sentence explaining the settings change. | |
| globalTheme | No | Theme overrides. Shallow diff — only include keys that change. |