create_site
Create a new storefront site, switch to it, and delete seeded sample products and blog posts so you start with a clean, empty site ready for composing pages from elements.
Instructions
Create a brand-new storefront site for the current account, then (by default) switch to it and return an EMPTY, CLEAN site (no sample products/categories) ready for element composition. The backend auto-seeds off-theme sample products + categories (and a sample blog); by default this tool DELETES that seed right after creating the site (keep the non-deletable default "All" category) so you start from a blank, on-theme store. Pass keep_seed:true to keep the sample data. The site has NO pages — after this, compose a homepage from elements: get_build_guide → new_section/new_element → build_page (type:'main', is_homepage:true). Note: free accounts are limited to 4 sites (creation fails with a quota error past that).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the new site, e.g. 'My Coffee Shop' | |
| slug | Yes | URL-safe site slug (lowercase letters, digits, hyphens), e.g. 'my-coffee-shop'. Becomes the preview subdomain and must be unique. | |
| keep_seed | No | Keep the backend's sample products/categories/blog instead of auto-deleting them. Default false = start from a clean, empty site. | |
| switch_to | No | Switch the session to the new site after creating it (saved for next session). Default true. |