Extract Images Audit
extract_images_auditAudit a web page's images to identify optimization opportunities. Detects all images including lazy-loaded ones, analyzes formats, alt text, responsive sizing, and LCP candidates, then returns a score with actionable recommendations.
Instructions
Comprehensive image audit for a web page. Uses Puppeteer to detect all images (img, picture, CSS backgrounds) including lazy-loaded ones. Analyzes format (WebP/AVIF adoption), alt text quality, responsive images (srcset), sizing optimization, lazy loading correctness, LCP candidate optimization, and file sizes. Returns a 0-100 score with per-image details and actionable recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the page to audit | |
| device | No | Viewport preset to render the page with | desktop |
| timeout | No | Navigation timeout in milliseconds |