PageSpeed Insights / Core Web Vitals
pagespeedRun Google PageSpeed Insights on a URL to get Lighthouse scores, lab metrics, CrUX field data, failed audits, and top savings opportunities for diagnosing and fixing page speed and SEO issues.
Instructions
Run Google PageSpeed Insights for a URL. Returns Lighthouse category scores (performance, SEO, accessibility, best practices), lab metrics (LCP, CLS, TBT, FCP, Speed Index), real-user CrUX data for the page and for the whole origin (LCP, INP, CLS, FCP, TTFB), so low-traffic pages still get field numbers, the failed audits of every requested category, and the top opportunities with estimated savings. Takes 15-60 s; set PAGESPEED_API_KEY for a higher quota.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "pagespeed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| locale | No | Language of the audit titles and descriptions, e.g. 'es', 'en', 'pt-BR'. Default 'en'. | |
| strategy | No | mobile | |
| categories | No | ||
| maxFailedAudits | No | Failed audits to list per category. | |
| topOpportunities | No |