See what a design actually did when it rendered
get_render_diagnosticsReturn render feedback for a design variation: its screenshots (desktop + mobile), the distinct browser errors real visitors have hit, and static contrast advisories naming any text/background pair below WCAG AA. Use this to self-check an import instead of asking a human to look at it. NOTE: screenshots and errors are historical — a design imported seconds ago has no screenshot and has never run, so those come back empty; the contrast pass works immediately because it reads the code. Omit index for the active design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Variation index from list_variations. Defaults to the active design. | |
| site_id | Yes | The site to diagnose | |
| 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. |