AddSynapse: draft theme settings, logo, widgets or CSS
plan_theme_settingsAddSynapse: Prepare a DRAFT of changes to the THEME SETTINGS of the site (Undo restores the exact previous values). Read describe_site_design first (sections customizer, widgets, css). operations (1–30): set {setting, value}: any option the theme / plugins register in the Customizer, by its id from describe_site_design → customizer (header / footer layout, colors, typography, buttons, logo width…; ids like storefront_header_background_color or astra-settings[header-bg-obj-responsive]); values as the setting expects (colors #hex, numbers, choices from choices, objects for responsive settings shaped like their current value). Core settings: blogname (site title), blogdescription (tagline), custom_logo and site_icon (a media library image id from find_media; 0 removes the logo), background_color, header_textcolor. Widgets of classic themes: add_widget {sidebar (widget area id), blocks | text | markup, position?} (blocks = structured blocks like plan_blocks_edit: [{name: core/paragraph|heading|list|buttons|image…, text, url, image_id, attrs, inner}]), update_widget {widget_id (block-N), blocks | text | markup}, remove_widget {widget_id}, move_widget {widget_id, sidebar, position}. Additional CSS — LAST RESORT, only when no setting, block attribute or site style does it: add_css {label, css} / replace_css {label, css} / remove_css {label}: the CSS is kept in a block named by its label (say what it does, e.g. "Hide header search on mobile"), use specific selectors scoped to what should change, plain CSS only (no @import, url() only https). Block themes: site colors / fonts are plan_global_styles and header / footer are plan_blocks_edit; site title, tagline, logo and Additional CSS still work here. 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 30 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_theme_settings"
}
}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 |