Audit generated web page
audit_web_pageAudit a generated web page in a real browser to verify delivery usability, mobile viewport, text scaling, safe-area behavior, and CTA flow; return screenshots and machine-readable evidence.
Instructions
Audit a generated page in a real browser and return deterministic evidence.
Provide exactly one of url or directory. The result is blocked when the
page has a delivery error; warnings remain visible but do not block unless
fail_on_warn is enabled in the JSON config. This checks delivery usability,
not security, WCAG conformance, visual regression, or real-device Safari
parity. Use browser_engine="webkit" for a WebKit approximation only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_web_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| file | No | index.html | |
| smoke | No | ||
| config | No | ||
| out_dir | No | ||
| profile | No | baseline | |
| directory | No | ||
| viewports | No | ||
| timeout_ms | No | ||
| smoke_scope | No | first | |
| browser_engine | No | ||
| ready_selector | No | ||
| smoke_selector | No | ||
| smoke_flow_name | No | ||
| smoke_settle_ms | No | ||
| viewport_preset | No | ||
| wait_for_network_idle | No | ||
| smoke_success_selector | No | ||
| smoke_require_assertion | No | ||
| smoke_success_url_pattern | No |