set_page_sections
Replace a page's layout. Writes to the DRAFT only: nothing a shopper sees changes until the merchant presses Publish. Unknown section types and unknown setting keys are dropped, so read list_section_types first. Set enabled:false on a section to hide it while keeping its settings. Call get_design_guide first if you have not: it has the layout language and the rules.
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": {
"handle": "<handle>",
"sections": "<sections>"
},
"name": "set_page_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | One short line on what you changed and why. | |
| handle | Yes | ||
| sections | Yes | The whole page, in order. Include sections you are keeping. |