bricks_update_page_schema
Set Schema.org JSON-LD structured data on a WordPress page by providing one schema object or an array. Automatically adds @context and outputs the markup as ld+json in the page head, enabling clear SEO structure.
Instructions
Set JSON-LD structured data (Schema.org) for a page. Automatically adds @context. Outputs as in the page head. Accepts a single schema object or an array of schemas.
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": {
"page_id": "<page_id>",
"schema": "<schema>"
},
"name": "bricks_update_page_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema.org JSON-LD object (or array of objects). Must include @type. Example: {"@type": "LocalBusiness", "name": "My Business", "address": {...}} | |
| page_id | Yes | WordPress page/post ID |