save_theme
section=theme (default) updates theme tokens and/or the dual-theme flag: a partial lightTokens or darkTokens object merges into the stored map and an invalid value names the token path. section=layout updates maxContentWidthPx and breakpoints (extra keys such as paddings are kept) plus headerNavCompactUpToBreakpointId; omitting that id leaves the stored value. dryRun validates and returns before/after without saving. Requires update_header_footer.
save_theme · Group: theme
section=theme (default) updates theme tokens and/or the dual-theme flag: a partial lightTokens or darkTokens object merges into the stored map and an invalid value names the token path. section=layout updates maxContentWidthPx and breakpoints (extra keys such as paddings are kept) plus headerNavCompactUpToBreakpointId; omitting that id leaves the stored value. dryRun validates and returns before/after without saving. Requires update_header_footer.
Inputs
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
section | optional | theme (default) | layout |
lightTokens | optional | |
darkTokens | optional | |
dualThemeEnabled | optional | |
maxContentWidthPx | optional | |
breakpoints | optional | |
headerNavCompactUpToBreakpointId | optional | |
dryRun | optional |