Update page
update_pageUpdate a page: name (changes the slug), SEO, home/404/hidden flags, per-page headCode/bodyClass, hideHeader/hideFooter/hideChrome. A page without seo.title / seo.description falls back to the site title (update_site), not its name. headCode holds third-party code, not page content. Guide: get_style_reference({ topic: "pages" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. Pass it on every call. | |
| seo | No | Per-page SEO fields to set. | |
| name | No | New name; changes the slug. | |
| pageId | Yes | Page id from list_pages. | |
| headCode | No | Raw HTML for this page's <head>, server-rendered. Empty string clears. Site-wide: ROOT.props.inject.head. | |
| isHidden | No | Hidden pages aren't reachable by URL. | |
| bodyClass | No | Classes on <body> for this page. Empty string clears. | |
| is404Page | No | Make it the 404 page. | |
| hideChrome | No | Hide ALL ROOT-level chrome (header, footer, sticky bars, drawers) — for ad landing pages. | |
| hideFooter | No | Hide the global footer on this page. | |
| hideHeader | No | Hide the global header on this page. | |
| isHomePage | No | Make it home (unsets the current one). |