Update WordPress Additional CSS
elementor_update_page_cssWrite CSS to WordPress Additional CSS, either appending rules or replacing all existing styles, and automatically clear the Elementor cache after each update.
Instructions
Write to WordPress Additional CSS (Customizer). Use 'append' mode to add new rules after existing CSS, or 'replace' mode to overwrite all CSS. Automatically clears Elementor cache after update.
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": {
"css": "<css>"
},
"name": "elementor_update_page_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | CSS content to write | |
| mode | No | 'append' adds to existing CSS (default), 'replace' overwrites all | append |