image_tools_diff
Pixel diff of two images for visual regression: share of changed pixels, a same/different verdict, boxes around what changed, a diff overlay and a side-by-side sheet. Tolerant of antialiasing noise. Price: $0.01 USDC via x402, charged only on success. Part of Image tools: Everyday image work for sites and apps: convert and compress to WebP/AVIF/JPEG/PNG, responsive srcset sets with ready markup, colour palettes, pixel diffs for visual regression, SVG to PNG, QR codes, blur placeholders, and an inspection that says what to fix before shipping an image..
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_tools_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | First image (the baseline) as base64. | |
| b | No | Second image as base64. | |
| aUrl | No | ||
| bUrl | No | ||
| threshold | No | Per-pixel tolerance, 0 = exact, 0.1 ignores antialiasing noise. | |
| failPercent | No | Above this share of changed pixels the images count as different. |