Add section
add_sectionAdd a section of a given type (keys of get_site.theme.sections) to a page, optionally from one of its presets, with a settings patch and a 0-based position (default: the end). Sections hold blocks; add them with add_block.
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": {
"business_id": "<business_id>",
"page_id": "<page_id>"
},
"name": "add_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Alias of type | |
| type | No | Section type from get_site | |
| preset | No | Start from one of the type's presets | |
| page_id | Yes | Page id, e.g. home, menu, about, loyalty | |
| position | No | 0-based position | |
| settings | No | Settings as a JSON merge patch (null removes a key). get_site lists each type's settings. | |
| business_id | Yes |