annotated_screenshot
Capture a screenshot of the page with numbered marks linked to element uids, or crop a specific element with optional padding and zoom. Use for spatial layout issues, overlapping elements, or identifying small components.
Instructions
Screenshot in two modes: an overview with numbered marks burned in, where mark N equals uid eN (mark 17 = e17); or an element-scoped crop via clipTo (uid|selector|x,y) with optional padding, scale (0.5..4 zoom for tiny elements), and annotate:false for a clean unlabeled crop. Use when text tools are not enough and you need to SEE the page while keeping pixels tied to elements — spatial or visual-layout questions ('things overlap', 'the layout looks off'), to zoom in on one small element, or to confirm which element is which. Then target elements by their uid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | No | Uids to mark; default: top ~25 visible interactive/landmark elements | |
| scale | No | clipTo only: zoom factor for the crop, clamped 0.5..4 (2 = double size) | |
| clipTo | No | Crop the screenshot to this element's border box instead of the whole viewport (target by uid | selector | x+y). Pairs with padding, scale, and annotate. Takes precedence over region and fullPage — pick ONE capture mode. | |
| region | No | Clip to this viewport rectangle (CSS px). Ignored when clipTo is given (clipTo wins). | |
| padding | No | clipTo only: extra pixels of margin around the cropped element on every side | |
| annotate | No | When false, burn in NO marks/labels — a clean crop so labels never cover the target | |
| fullPage | No | Capture the whole page height. Ignored when clipTo or region is given (they win). |