visual_comparison
Compare two web pages visually to detect and highlight layout or content differences.
Instructions
Compare two URLs visually and highlight differences
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": {
"url1": "<url1>",
"url2": "<url2>"
},
"name": "visual_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url1 | Yes | First URL to compare | |
| url2 | Yes | Second URL to compare | |
| threshold | No | Difference threshold (0.0-1.0). Default: 0.1 | |
| fullPage | No | Whether to capture full page. Default: false | |
| selector | No | Optional CSS selector to limit comparison |