build_site
Build site pages by mapping screens to routes, returning design HTML for each route to provide context for code generation.
Instructions
Builds a site from a Stitch project by mapping screens to routes. Returns the design HTML for each page to use as context for code generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | Yes | Array of screen-to-route mappings. | |
| projectId | Yes | The Stitch project ID. |