compare_images
Detect visual differences between two images. Identify UI changes, layout shifts, text changes, and color variations with severity and confidence.
Instructions
Compare two images for visual differences. Use this for before/after screenshots, visual regression checks, UI changes, layout shifts, missing elements, text changes, color changes, or alignment issues. Returns differences with severity and confidence.
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": "compare_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | general | |
| after_url | No | ||
| diff_path | No | ||
| after_path | No | ||
| before_url | No | ||
| before_path | No | ||
| severity_threshold | No | low |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| diff_image | No | ||
| differences | No | ||
| regression_likelihood | No | none | |
| recommended_next_steps | No |