compare_screenshots
Compare two screenshots pixel-by-pixel to detect UI regressions. Returns match percentage and a visual diff highlighting changes.
Instructions
Compare two base64 PNG screenshots pixel-by-pixel. Returns match percentage and a visual diff image highlighting differences. Useful for detecting UI regressions or verifying changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Per-pixel color tolerance 0-1 (default: 0.1) | |
| screenshot1 | Yes | First base64-encoded PNG screenshot | |
| screenshot2 | Yes | Second base64-encoded PNG screenshot |