SmartUI Comparison Analyze
smartui_comparison_analyzeAnalyze one SmartUI comparison through a lens: consolidated (default), pixel, or dom. Returns the comparison data (mismatch %, verdict, correctly-labelled asset URLs) plus, for lens=dom, a real DOM byte delta when the artefact is served — no local filesystem needed. consolidated and pixel report upstream numbers and point at the assets; they do not run their own image analysis. lens=dom degrades to a structured error when DOM artefacts are not served. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | Analysis lens (default consolidated). layout and perceptual were retired — they returned the consolidated payload unchanged. | |
| comparison_id | Yes | Comparison id (required) — from smartui_comparison_query | |
| include_assets | No | urls (default) returns asset URLs only. inline additionally attaches the screenshots themselves as image blocks — compared only for lens=pixel, baseline+current+compared for consolidated, none for lens=dom. Images over 1.5 MB (or past 2.25 MB in total) are skipped and listed with the reason; their URLs stay in the result. Use inline when you cannot fetch URLs. |