browser_diff
Compare snapshots or screenshots to detect visual differences between baseline and target, optionally scoped to specific elements.
Instructions
Diff snapshots/screenshots
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": {
"type": "<type>"
},
"name": "browser_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | JSON output | |
| type | Yes | Diff type | |
| target | No | Target URL | |
| session | No | Session name | |
| baseline | No | Baseline file/URL | |
| selector | No | Scope to element |