psi_audit
Audit any public URL with PageSpeed Insights to get Lighthouse lab scores, Core Web Vitals, and CrUX field data for mobile or desktop performance, accessibility, best practices, and SEO.
Instructions
Run a PageSpeed Insights audit (Lighthouse lab test + CrUX field data) on a public URL.
Takes 30-90 seconds. Without PAGESPEED_API_KEY the anonymous quota is small and Google may answer 429; set the key for regular use.
Args: url: absolute public URL, e.g. 'https://example.com/'. strategy: 'mobile' (default) or 'desktop'. categories: subset of ['performance', 'accessibility', 'best-practices', 'seo']. Default: all four.
Returns 0-100 category scores, lab Core Web Vitals (LCP, FCP, CLS, TBT, SI, TTFB) and, when Chrome has enough real-user traffic, CrUX p75 field data for the URL and its origin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| strategy | No | mobile | |
| categories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||