adb_a11y_touch_targets
Lists interactive Android UI elements with touch target sizes in dp and flags any below the 48dp minimum, helping identify cramped layouts that may cause tap errors.
Instructions
List all interactive elements with their touch target dimensions in dp. Highlights elements below the 48dp minimum. Useful for quickly identifying cramped UI layouts.
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": "adb_a11y_touch_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| belowMinOnly | No | Only show elements below the 48dp minimum |