viewprobe_check
Scan a URL for CSS layout violations across responsive viewports and return compact JSON with the exact selectors and computed styles causing overflow, truncation, or undersized tap targets.
Instructions
Scan a URL for CSS layout violations (overflow, truncation, tap-target sizing) across responsive viewports. Returns compact JSON with the exact CSS selectors and computed styles causing each issue.
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": {
"url": "<url>"
},
"name": "viewprobe_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to scan (e.g. http://localhost:3000) | |
| selectors | No | Optional comma-separated CSS selectors to focus the scan on specific elements. | |
| viewports | No | Comma-separated viewport names to test: mobile, tablet, desktop, wide. Defaults to mobile,desktop. | mobile,desktop |
| microCrops | No | Attach base64 micro-crop images of violations. Default true. | |
| skipSelectors | No | Optional comma-separated CSS selectors to exclude from scanning. |