Update element settings
elementor_update_elementUpdate an Elementor element's settings by applying control values; merge mode preserves existing settings, while replace swaps them wholesale.
Instructions
Change an element's settings. In merge mode (the default) the keys you pass are applied over the existing settings and everything else is left alone; in replace mode the settings object is swapped wholesale, which discards any setting you do not include. Merge is almost always what you want.
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": {
"postId": "<postId>",
"elementId": "<elementId>",
"settings": "<settings>"
},
"name": "elementor_update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | merge keeps existing settings; replace discards anything not passed. | merge |
| site | No | Configured site name. Omit to use the default site. | |
| postId | Yes | WordPress post ID of the Elementor page, post or template. | |
| settings | Yes | Elementor control values keyed by control name. Call elementor_get_widget_schema for the valid keys of a widget. Responsive variants use _tablet and _mobile suffixes, e.g. padding_tablet. | |
| elementId | Yes | Elementor element id, as returned by elementor_get_outline. |