Analyze SmartUI Comparison
smartui_analyze_comparisonSummarize one SmartUI comparison: mismatch %, a mismatch_band from fixed thresholds set by this tool (0 identical, under 0.1 negligible, under 1 minor, under 5 moderate, otherwise major; not a SmartUI verdict), status and the baseline, current and compared image URLs. With include_assets=inline it also attaches the three images, skipping any over 1.5 MB or past 2.25 MB in total (listed in assets_skipped). It runs no image analysis of its own. Needs a comparison_id. Read-only.
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": {
"comparison_id": "<comparison_id>"
},
"name": "smartui_analyze_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comparison_id | Yes | Comparison id, from smartui_list_comparisons | |
| include_assets | No | urls returns image URLs only; inline also attaches the images as image blocks | urls |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No |