bricks_create_page
Create a WordPress page with Bricks Builder data in one call, eliminating separate page creation and styling steps. Reuse theme styles, global classes, and built-in button presets for consistent design.
Instructions
Create a new WordPress page with Bricks Builder data in one call. No need for separate WP page creation + Bricks data push. THEME-FIRST: before generating elements, call bricks_get_theme_styles and bricks_list_global_classes — reuse existing tokens (button styles, utility classes, color palette) instead of inline styling. For buttons prefer settings.style: "primary"|"secondary" over manual _background/_typography. For links use the text-link element, not a styled text-basic.
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": {
"title": "<title>"
},
"name": "bricks_create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug (optional, auto-generated from title) | |
| title | Yes | Page title | |
| parent | No | Parent page ID (optional) | |
| status | No | Post status (default: draft) | draft |
| elements | No | Bricks elements array (optional) | |
| post_type | No | Post type (default: page) | page |