psi_analyze
Run PageSpeed Insights on a URL to retrieve Lighthouse category scores, synthetic lab metrics, and field Core Web Vitals from real-user CrUX data. Defaults to mobile strategy.
Instructions
Run PageSpeed Insights on a URL and return Lighthouse category scores, lab Core Web Vitals (synthetic), and field Core Web Vitals (real-user CrUX) when available. Defaults to the mobile strategy (Google ranks on mobile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to analyze. Required. | |
| strategy | No | Defaults to mobile. | |
| categories | No | Lighthouse categories to run. Defaults to all four. |