Compare two images
compare_imagesCompares a reference UI screenshot with a current implementation screenshot and returns structured JSON with differences, severity, concrete fixes, and a fix plan.
Instructions
Compare a reference UI screenshot with a current implementation screenshot and return structured JSON with a difference list, severity, concrete fixes, and a fix plan.
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": {
"referencePath": "<referencePath>",
"currentPath": "<currentPath>"
},
"name": "compare_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional focus: areas of the comparison to emphasize. | |
| currentPath | Yes | Absolute or relative path to the current .png/.jpg/.jpeg/.webp image. | |
| referencePath | Yes | Absolute or relative path to the reference .png/.jpg/.jpeg/.webp image. |