audit_layout
Audits Android UI layouts for undersized tap targets, overlapping controls, and optionally clipped off-screen elements, reporting issues to guide accessibility fixes.
Instructions
Check tap-target sizes, overlaps and (optionally) off-screen elements.
Reports TAP-SMALL (a control below min_tap_dp, Material's guidance is 48),
OVERLAP (two controls sharing more than a third of the smaller one), and
with check_clip CLIPPED (a node extending past the viewport).
Full-bleed wrappers are excluded: Flutter often wraps a whole screen in one GestureDetector, which would otherwise appear to overlap everything.
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_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| check_clip | No | ||
| min_tap_dp | No |