check_overlaps
Detect overlapping elements to find layout bugs and broken click targets, reporting overlap pairs with bounds, area, and severity for interactive and visual overlaps.
Instructions
Detect overlapping elements to find layout bugs and broken click targets.
Interactive overlaps (severity: high): two clickable regions overlap, causing unreliable clicks
Visual overlaps (severity: low): sibling elements with overlapping bounds (parent-child overlap is normal and ignored) Returns overlap pairs with their bounds, overlap rectangle, and overlap area in pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to check: 'interactives' for click regions only, 'visual' for sibling visual overlaps, 'all' for both (default: all) | |
| screen | No | Screen name. If omitted, checks all active screens. | |
| include_hidden | No | Include non-visible/disabled elements (default: false) | |
| min_overlap_area | No | Minimum overlap area in px² to report (default: 1). Use higher values to filter trivial edge-touching. |