swebsy_create_page
Create a new blank page in the project, optionally select it, and return its id and fileName. Use it to add extra pages, then fill and link them.
Instructions
Create a NEW blank page in the project and (by default) select it. Returns the new page's id and fileName. The page starts nearly empty — fill it with replace_page_content or add_section, and point a navbar/link at it with link_page. Use THIS to add an additional page; use replace_page_content (NOT this) to overwrite the current page's content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name / title for the page (e.g. 'About'). | |
| select | No | Select the new page after creating it. Default true. | |
| fileName | No | Optional URL slug without .html (e.g. 'about'). Use `/` to put the page in a folder: 'blog/first-post' is served at /blog/first-post, 'docs/index' at /docs/. Defaults to a flat slug derived from `name`; auto-deduplicated against existing pages. |