Update a section
update_sectionChanges one section on a page. Only the fields you pass change; a list field (such as items) is replaced as a whole. The change goes into the draft and is saved as a new version.
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": {
"site_id": "<site_id>",
"page_id": "<page_id>",
"section_id": "<section_id>",
"data": "<data>"
},
"name": "update_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The fields to change for this section type. See list_templates for the fields. | |
| page_id | Yes | The page id from get_site. | |
| site_id | Yes | The site id from list_sites or create_site. | |
| section_id | Yes | The section id from get_site. |