compare_images
Compare two PNG files pixel by pixel to detect identical images or generate a side-by-side image with changed regions boxed in red and listed as text.
Instructions
Compare two PNG files pixel by pixel: "identical", or a side-by-side image with each changed region boxed in red, plus the regions as text.
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": {
"before": "<before>",
"after": "<after>",
"out": "<out>"
},
"name": "compare_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Where to write the side-by-side PNG. | |
| after | Yes | ||
| before | Yes |