detect_overflow
Detect horizontal page overflow, elements wider than containers, media overflow, and clipped text at specific viewport sizes or within a CSS selector to find responsive layout issues.
Instructions
Identify horizontal page overflow, elements wider than their containers, content extending beyond viewport boundaries, fixed-width hazards, media overflow, and clipped text.
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": "detect_overflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional CSS selector to scope detection. If omitted, checks the entire page. | |
| viewport_width | No | Optional viewport width in px to check at (e.g. 375 for mobile). | |
| viewport_height | No | Optional viewport height in px to check at (e.g. 812). |