Create page
create_pageAdd a page to the site at a new URL. It starts as a copy of a page that already exists — pass the closest one as fromRoute — and you then make it its own with add_section, set_style and edit_text. Copying rather than starting blank is what keeps the new page's header, footer, fonts and styling consistent with the rest of the site; a page built from nothing would have none of them. Edits to the copy never touch the page it came from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | The new URL path, e.g. "/pricing" or "/blog/my-post". Slashes nest; anything else is kebab-cased. | |
| title | No | Label for the Pages list. Does not change the page's <title>; use edit_text for that. | |
| siteId | Yes | ||
| fromRoute | Yes | Route of the existing page to copy — from get_site. Pick the closest in layout to what you are building. |