browser_compare_dom
Compare two compact DOM snapshots to identify differences in page structure, helping debug frontend changes by pinpointing what changed between captures.
Instructions
Compare two compact DOM snapshots.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "browser_compare_dom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes |