Validate design fidelity
designfit_validateValidate a rendered front-end against its Figma design to get a fidelity score and a machine-actionable fix-list of token, geometry, and presence violations.
Instructions
Validate a rendered front-end against its Figma design. Tag each built element with data-designfit-id="", pass the design spec (geometry + tokens, from designfit_extract or relayed from Figma's MCP), the running URL, and the component map. Returns a fidelity score and a machine-actionable fix-list of token, geometry, and presence violations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| design | Yes | ||
| viewport | Yes | ||
| tolerances | No | ||
| componentMap | Yes |