Compare HTTP source HTML and sandboxed rendered DOM SEO signals
browser.dom_diffV07 local-only: compare two caller-supplied raw/rendered HTML snapshots offline, or render caller-supplied HTML in fresh network-denied Chromium with inline scripts only, or fetch one robots-allowed public HTML page and sample its…
Instructions
V07 local-only: compare two caller-supplied raw/rendered HTML snapshots offline, or render caller-supplied HTML in fresh network-denied Chromium with inline scripts only, or fetch one robots-allowed public HTML page and sample its inline-script DOM. Detects changed/missing title, description, H1, text, same-origin anchor links, canonical, noindex and JSON-LD declarations using bounded redacted evidence. Does not load external JS/CSS/assets, impersonate Google WRS, access GSC/GA4, claim indexing or save content. Inline modes execute untrusted JS only inside fresh browser sandbox; external requests are denied.
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": {
"mode": "<mode>"
},
"name": "browser.dom_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Only for live_inline_sandbox: safe public query-free HTTP(S) page URL; robots.txt permission checked before GET. | |
| mode | Yes | Choose offline caller snapshots, local Chromium inline-script execution, or a guarded public HTML fetch followed by the same isolated browser render. | |
| page_url | No | For offline modes, the page URL label for resolving relative links and canonicals; never fetched. | |
| raw_html | No | Caller-observed source HTML. Inline mode executes only its inline scripts in a fresh, offline Chromium sandbox. | |
| rendered_html | No | Only compare_snapshots: rendered HTML already obtained by an authorized browser or source; never executed or fetched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | ||
| error | No | ||
| scope | Yes | ||
| findings | Yes | ||
| rendered | Yes | ||
| h1_changed | Yes | ||
| limitations | Yes | ||
| title_changed | Yes | ||
| total_findings | Yes | ||
| noindex_changed | Yes | ||
| browser_executed | Yes | ||
| coverage_limited | Yes | ||
| main_words_added | Yes | ||
| canonical_changed | Yes | ||
| shared_main_words | Yes | ||
| findings_truncated | Yes | ||
| link_targets_added | Yes | ||
| main_words_removed | Yes | ||
| link_targets_removed | Yes | ||
| script_errors_observed | Yes | ||
| unchanged_link_targets | Yes | ||
| inline_scripts_attempted | Yes | ||
| external_resources_blocked | Yes |