verify_build
Compare a built site against a reference URL to check section-structure and motion similarity, returning pass/warn/fail verdicts and evidence for fixes.
Instructions
Compare a built site against a reference (an Awwwards winner, a client's old site, any URL): band-structure match + motion fingerprint similarity, with a pass/warn/fail verdict and evidence lines. Band labels are #id.firstClass, so give your rebuild's sections stable ids/classes; anonymous rebuild labels (empty/body, or duplicates) fall back to tag+height matching. compact=true returns the verdict, overall and band score, band counts (matched, refOnly, buildOnly), motion score and captureStable (false when either capture moved or the two captured different heights/animation counts); omit it for evidence lines. Live reports also carry a capture: evidence line with each side's rendered height, animation count and stability, because fixed waits can sample async content at different moments; a score that moved with capture state is visible there. Closes the design loop: build → verify → fix → re-verify. Reference can be an award site found via search_sites, compared read-only via compare_sites. scene3d is a SEPARATE opt-in 3D gate: it replays a capture_scene_3d pack on the build canvas, compares cropped PNGs pixel-by-pixel and returns its own status/verdict under scene3d (with diff PNGs), keeping overall/verdict legacy semantics; the legacy pass never certifies a canvas, and without pixelThreshold + maxChangedFraction it reports metrics only (inconclusive).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"buildUrl": "<buildUrl>",
"referenceUrl": "<referenceUrl>"
},
"name": "verify_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | compact=true returns the verdict, overall and band score, band counts and motion score; omit for evidence lines | |
| domDiff | No | body-subtree structural diff between reference and build | |
| scene3d | No | opt-in visual 3D gate: replay a capture pack's checkpoints on the build canvas | |
| buildUrl | Yes | URL of the build to verify | |
| viewport | No | desktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouch | desktop |
| referenceUrl | Yes | URL of the reference site to match | |
| waitStrategy | No | 'load' waits for load plus settle; 'networkidle' waits for network quiet; omit to let the orchestrator use its scroll-census default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bands | No | ||
| motion | No | ||
| domDiff | No | ||
| overall | No | ||
| scene3d | No | ||
| verdict | No | ||
| buildUrl | No | ||
| evidence | No | ||
| referenceUrl | No |