browser_audit_layout
Scan a page for visual and layout bugs such as horizontal overflow, clipped text, covered elements, broken images, low contrast, tiny tap targets, console errors, and failed requests.
Instructions
Scan the page for visual and layout bugs: horizontal overflow and the elements causing it, content sticking out of its container, clipped text, elements covered by others, broken/stretched/oversized images, low color contrast, tiny text and tap targets, unlabeled controls, plus console errors and failed requests. Each issue has a ref for browser_inspect/browser_screenshot. Run it at several viewports (browser_set_viewport).
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": "browser_audit_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the tab last opened/selected by an agent, else the active tab. | |
| maxPerType | No | Default 8. |