bricks_instantiate_section
Instantiate a section preset with optional overrides and variable substitutions to obtain page-ready elements. Fill placeholders with explicit values or site-learned style preferences.
Instructions
Create an instance of a section preset with optional overrides. Returns the Bricks elements ready to be added to a page.
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": {
"preset_name": "<preset_name>"
},
"name": "bricks_instantiate_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overrides | No | Settings overrides to apply by element key or index (e.g., { "0": { "_background": {...} } }) | |
| variables | No | Variable substitutions for {{placeholder}} values in the preset (e.g., { heading: "Hello", button_text: "Click" }) | |
| preset_name | Yes | Name of the preset to instantiate | |
| use_learned_styles | No | If true, fill unfilled {{placeholders}} with learned site preferences (top colors, fonts, spacing). Explicit variables always take priority. |