elementor/update-kit-settings merges new settings into the active kit, or a kit you name.
force_replace replaces the full settings object instead, which is almost never what you want.
At a glance
| Ability | elementor/update-kit-settings |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › Kits & Global Styles |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Writes data |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
One write, every page
A kit change is a site-wide restyle. Changing a global colour changes every element referencing it, on every page, immediately — which is the point of globals and also means there is no small version of this operation.
Merging is the default because a kit’s settings object is large and contains things that are easy to forget: breakpoints, form styling, the default content width. Replacing to change a colour would reset all of them.
Elementor generates a CSS file per post and caches it. A change to the document does not change the rendered page until that CSS is regenerated, which is why elementor/clear-cache is the second half of several operations here.
Kit CSS is regenerated site-wide rather than per post, so the effect is visible once that regeneration happens. elementor/clear-cache with site scope forces it.
Changing a global that many elements reference is the fastest restyle available and the hardest to undo by hand — there is no record of the previous value once it is written.
Idempotent.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
settings | object | Yes | The kit settings to merge. |
kit_id | integer | No | Which kit. Defaults to the active one. |
force_replace | boolean | No | Replace the whole settings object instead of merging. |
What comes back
| Name | Type | What it is |
|---|---|---|
kit_id | integer | The kit written. |
settings | object | The settings afterwards. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
Change our primary brand colour.
It resolves to one call:
{
"ability": "elementor/update-kit-settings",
"parameters": {
"settings": { "system_colors": [{ "_id": "primary", "color": "#0f172a" }] }
}
}Worth knowing
- Every element referencing a global changes at once.
- Merge by default — replacing resets breakpoints and form styling too.
- Read the current settings first; there is no record of the old value.
- Clear the site-scope cache to regenerate the CSS.
Related abilities
- Get Elementor Kit Settings — read before writing
- Clear Elementor Cache — regenerate the CSS
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category