Analyze a Page with Lighthouse
pagespeed_analyze_pageRun a Lighthouse analysis on any public URL to get performance scores, prioritized fixes, and category audits. Choose a summary health check or detailed recommendations to identify concrete remediation steps.
Instructions
Run a PageSpeed Insights Lighthouse analysis for one public page. Start with report=summary for a health check; choose full for audits, recommendations for a prioritized fix list, audit for non-performance categories, or performance-map for Mermaid. Example: analyze a mobile product page and return the three most useful remediation steps. Returns a report plus structured result. The Google API is contacted and results may be served from the local cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL, for example https://example.com/products. | |
| runs | No | Distinct measurements. Use 3–5 when you need a median and spread. | |
| locale | No | BCP-47 locale such as en or uk-UA. | en |
| report | No | Amount and shape of returned insight. | summary |
| strategy | No | Lighthouse device profile. mobile is the default. | mobile |
| categories | No | Lighthouse categories to request. | |
| responseFormat | No | markdown is concise and readable; json is machine-readable and is also available as structuredContent. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| result | Yes | ||
| truncated | No | ||
| truncationMessage | No |