AddSynapse: draft site colors, fonts and spacing
plan_global_stylesAddSynapse: Prepare a DRAFT of SITE-WIDE style changes of a block theme (what Appearance → Editor → Styles saves: every page, header and footer follow them) (Undo restores the exact previous styles). Read describe_site_design (styles) first for the palette slugs, font families, sizes and current customisations. operations (1–40, in order): set {path, value} / remove {path} — paths: styles.color.text|background|gradient, styles.typography.fontFamily|fontSize|fontWeight|lineHeight|letterSpacing|textTransform|textDecoration, styles.spacing.padding|margin (object {top,right,bottom,left} or one side .top…) | blockGap, styles.border.radius|width|style|color, styles.shadow, styles.dimensions.minHeight; the same under styles.elements.<link|heading|h1…h6|button|caption|cite> (and styles.elements.link.:hover / button.:hover) and under styles.blocks.<core/button|core/navigation|core/site-title|core/post-title|…> for every block of a type; settings.layout.contentSize|wideSize. Values: CSS colors (#hex, rgb(), hsl()) or palette references (var:preset|color|), lengths (16px, 1.2rem, clamp()) or presets (var:preset|font-size|, var:preset|spacing|), font families as var:preset|font-family| of an available family. palette_color {slug, color, name?}: change a palette color everywhere it is used (existing slug) or add one (new slug). variation {title}: switch to one of the theme's style variations. css {css, block?}: custom CSS for the whole site or for every block of a type (last resort; plain CSS, no @import, url() only https). Classic themes: plan_theme_settings; Elementor global colors / fonts: plan_elementor_kit. Changes nothing by itself: a preview card with the before → after list and an Approve button appears in the chat; nothing changes on the site until the user presses Approve there, and every applied change can be undone exactly. Before calling it, say in plain words what will change and get the user's agreement. Put every edit of this request in ONE call (up to 40 operations) — the user approves them together with one click and can undo them together; never one call per item.
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": {
"operations": "<operations>"
},
"name": "plan_global_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| operations | Yes |