compare_sets
Compare two screenshot sets to detect visual regressions, showing changed pages and previews when similarity falls below a set threshold.
Instructions
Diff two capture sets (labels from capture_set, or directories). identical: true
means every page scored >= threshold. Returns previews of the most-changed pages.
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_sets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | after | |
| align | No | crop | |
| before | No | before | |
| threshold | No | ||
| max_images | No | ||
| max_changed_ratio | No |