Skip to content

Astra

New in v3.4.0. Astra stores its customizer settings in a single astra-settings option. EMCP Tools exposes a curated allowlist of that option over two dispatcher tools, so an agent can read and adjust your site’s theme design without you hand-editing the Customizer. Registers only when Astra is the active theme.

Both tools take { operation, arguments }. Omit operation to get back the list of available operations for that tool, useful for an agent discovering what it can do before calling anything.

Operation: get-settings. Reads curated Astra settings with their value plus type/label/group metadata.

Arguments: group (optional — colors, typography, layout, or header-footer) or keys (optional array of specific setting keys). Omit both to return everything on the allowlist.

Operation: update-settings. Writes settings by key. Any key not on the allowlist is reported back in skipped, not rejected outright.

Arguments: values — an object of { key: value } pairs.

KeyGroupType
theme-colorcolorscolor
text-colorcolorscolor
link-colorcolorscolor
link-h-colorcolorscolor
body-font-familytypographystring
font-size-bodytypographyarray
font-family-h1font-family-h6typographystring
site-content-widthlayoutnumber (px)
site-layoutlayoutselect
header-layoutsheader-footerselect
footer-advheader-footerselect
footer-sml-layoutheader-footerselect

Call get-settings first, read the returned type/label for a key, then send the same shape back to update-settings.

Both tools are gated on edit_theme_options. Writing takes effect immediately: Astra’s dynamic CSS cache is cleared automatically so the change shows up without a manual “regenerate CSS.”