Save Page Layout
kilango_save_page_layoutReplace the full page layout on a portal page. Uses automatic ETag matching to prevent overwrite conflicts and preserves widget instance IDs to keep existing widget rows intact.
Instructions
Replace the whole page layout (a Puck payload { root, content: [...] }). Whole-document write: the current ETag is fetched and sent as If-Match automatically. Preserve each app-widget block's widgetInstanceId verbatim, or the widget row is recreated.
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": {
"portalRef": "<portalRef>",
"pageRef": "<pageRef>",
"layout": "<layout>"
},
"name": "kilango_save_page_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| layout | Yes | ||
| pageRef | Yes | ||
| portalRef | Yes |