UI Diff Check
ui_diff_checkCompare expected and actual UI screenshots to identify visual differences and report implementation mismatches.
Instructions
Compare an expected/reference UI screenshot with an actual/current UI screenshot and report visual implementation differences.
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": {
"expected_image_source": "<expected_image_source>",
"actual_image_source": "<actual_image_source>",
"prompt": "<prompt>"
},
"name": "ui_diff_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Instructions for the comparison and aspects to focus on. | |
| image_detail | No | Optional Codex Responses input_image detail. Defaults to CODEX_VISION_IMAGE_DETAIL or high. | |
| actual_image_source | Yes | Local file path, remote URL, or data:image URL to the actual/current UI. | |
| expected_image_source | Yes | Local file path, remote URL, or data:image URL to the expected/reference UI. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes | ||
| metadata | No |