Reject SmartUI Screenshots
smartui_reject_screenshotReject screenshots in a SmartUI build. Pass comparison_ids, ss_ids or all_matching. Every id is checked against the build before the write, and statuses are read back afterwards, so updated[] and failed[] report what actually changed. There is no undo; a later approve or reject overwrites the status. A build with a rejected screenshot gets verdict failed.
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>",
"build_id": "<build_id>"
},
"name": "smartui_reject_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ss_ids | No | Screenshot ids (ss_id) to reject, from smartui_list_comparisons | |
| build_id | Yes | Build id the screenshots belong to | |
| project_id | Yes | SmartUI project id, from smartui_list_projects | |
| all_matching | No | Reject every screenshot in the build with this status | |
| comparison_ids | No | Comparison ids to reject, from smartui_list_comparisons (rows with comparison_id null need ss_ids) |