ui_layout_audit
Audits screen geometry from accessibility frames to catch zero-size elements, undersized tap targets after hitSlop, and horizontal overflow, using arithmetic instead of visual inspection.
Instructions
Audit screen geometry from accessibility frames: zero-size elements, tap targets under the minimum after hitSlop, and horizontal overflow. Arithmetic, not eyeballing a screenshot.
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": "ui_layout_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenWidth | No | Viewport width in points, to enable horizontal overflow checks. | |
| minTapTarget | No | Minimum tap target in points. Defaults to 44. hitSlop is accounted for. |