bricks_update_theme_styles
Update Bricks Builder global theme styles via JSON. Merge mode preserves existing styles, and responsive breakpoint keys for tablet and mobile enable adaptive designs.
Instructions
Update Bricks Builder global Theme Styles. Supports merge mode (default). Bricks 2.3: Supports responsive breakpoint keys — include ":tablet_portrait" and ":mobile_portrait" nested keys for breakpoint-aware theme styles (e.g. responsive heading sizes).
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": {
"theme_styles": "<theme_styles>"
},
"name": "bricks_update_theme_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | If true (default), merge with existing styles. | |
| theme_styles | Yes | Object with style name(s) as keys and their settings as values. Bricks 2.3: Supports responsive keys like { "headings": { "h1": { "_typography": { "font-size": "64" }, ":tablet_portrait": { "_typography": { "font-size": "42" } }, ":mobile_portrait": { "_typography": { "font-size": "32" } } } } } |