Add several pages to a site
add_pagesAdd multiple inner pages to an existing site in one call (up to 10). Each page is generated to match the site's existing theme. Use this to stand up a full set of pages (About, Services, Contact, etc.) at once. The site must already have a design. ON A SITE THAT STILL HOLDS SEVERAL DESIGNS this builds the site: Mondovo copies the chosen design into the working site (or reuses the copy made earlier), adds to that, and the response carries its new site_id and a build_transition — relay its tell_user and use the new site_id from then on. Pass variation_id (from list_variations) for the design the user picked; omitted, Mondovo uses the design already built or the only one edited, and otherwise answers choose_design so you can ask the user. Returns a job_id immediately; poll get_job every ~10s until its status is "completed". Pages are generated with bounded parallelism, so a batch of 10 takes minutes, not 10x one page. Per-page failures are reported individually in the job's failed array — one bad page does not abort the rest, so a "completed" job can still carry failures worth reporting to the user. These pages are NOT added to the site's menu — to link them, patch_variation_content navigation with the full edited array (or use add_page per page with nav_placement).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | The pages to create (1-10) | |
| site_id | Yes | The site to add the pages to | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| variation_id | No | On a site that still holds several designs: the design to build the site from (from list_variations). Mondovo copies it into the working site and adds to that. Omit on a site that is already built. |