ab_compare
Compare two live server URLs page by page to detect visual differences and regressions. Specify base URLs, optional pages, viewport, and threshold to get changed regions and previews.
Instructions
Compare two running servers (e.g. main branch on :8080 vs a worktree on :8091) page by page.
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": {
"base_url_a": "<base_url_a>",
"base_url_b": "<base_url_b>"
},
"name": "ab_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| viewport | No | all | |
| profile_a | No | ||
| profile_b | No | ||
| threshold | No | ||
| base_url_a | Yes | ||
| base_url_b | Yes | ||
| max_images | No | ||
| max_changed_ratio | No |