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.
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": {
"siteId": "<siteId>",
"route": "<route>",
"fromRoute": "<fromRoute>"
},
"name": "create_page"
}
}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. |