Get SmartUI Build CI Verdict
smartui_get_build_verdictGet a pass or fail verdict for a SmartUI build, for use as a CI gate: verdict (passed, failed, pending_approval, running or error), per-status totals, every blocking id (comparison_id, or ss_id when the screenshot has no comparison), detail for the first 50 blocking screenshots, and warnings. failed means a rejected screenshot, or a build whose screenshots SmartUI approved by itself without comparing them to an existing baseline. Screenshots that the baseline the build was compared with has and this build lacks are listed in missing_screenshot_names; they fail the verdict only when fail_on_missing is true. 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": {
"project_id": "<project_id>"
},
"name": "smartui_get_build_verdict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | No | Build id, from smartui_list_builds (or pass build_name) | |
| build_name | No | Exact build name, an alternative to build_id; looked up among the newest 200 builds | |
| project_id | Yes | SmartUI project id, from smartui_list_projects | |
| fail_on_missing | No | Fail the verdict when the build lacks screenshots its baseline has (ignored for builds SmartUI marks partial). Default false, since uploads of a few images are usually partial on purpose. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| build | No | ||
| error | No | ||
| totals | No | ||
| verdict | No | ||
| blocking | No | ||
| warnings | No | ||
| blocking_comparison_ids | No | ||
| blocking_detail_omitted | No | ||
| missing_screenshot_names | No | ||
| baseline_build_id_compared | No |