copy_website_rebuild
Rebuild a copied website from a completed copy_website_extract job (step 2 of 2). This does NOT generate the site itself -- it returns the extracted content and YOU rebuild it via create_new_site. Follow this protocol:
Call this with the job_guid from copy_website_extract. It returns design_mode and, per source page, {source_url, title, is_index, text, text_truncated, images:[absolute URLs]}, ordered index page first.
Study every page's content, structure, and image URLs. Recreate the site as ONE complete, well-designed HTML document ( through ) that PRESERVES each source page's content and page purpose. Honour design_mode: "improve_original" -> stay close to the original's structure and refine it; "new_design" -> keep the content and purpose but redesign freely. Use the provided image URLs directly in -- they are already hosted; do not invent new ones.
Submit that single document via create_new_site in ONE call (pass this same project_guid).
Then work create_new_site's needs_attention worklist exactly as the normal build flow does: fix every "blocking" item with apply_dom_ops before telling the user the site is done.
The same steps are echoed in the response's rebuild_instructions field. This call is NOT metered; create_new_site is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_guid | Yes | ||
| project_guid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||