website_builder_get_structure
Read website identity, selected template/version, all pages including hidden pages and content, and site-wide components. Pages are a flat inventory with parent IDs and sibling order.
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": {
"siteId": "<siteId>"
},
"name": "website_builder_get_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Website ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page data, including the created page on a partial failure. | |
| error | No | ||
| items | No | Page IDs that reference a page whose deletion was blocked. | |
| catalog | No | Slim component catalog returned by get_template_components. | |
| success | No | ||
| warning | No | ||
| website | No | Complete website structure returned by get_structure, including template/version, all pages and site-wide components. | |
| component | No | Component field map and content defaults returned by get_template_component. | |
| websiteId | No | Created website ID, including on partial creation failure. | |
| statusCode | No | ||
| integrityErrors | No | Integrity errors, when returned by the checker or repair. |