PageSpeed Insights audit
pagespeed_insightsRun a Google PageSpeed Insights (Lighthouse) audit on a public URL.
Returns Lighthouse lab data: performance / accessibility / best-practices / SEO scores (0-100), Core Web Vitals lab values (LCP, FCP, CLS, TBT, TTFB, Speed Index), and the top 8 optimization opportunities ranked by potential savings in milliseconds.
Results are cached server-side for 24 hours per (url, strategy) so repeat
calls are free + instant. Companion tool pagespeed_field_data returns
real-user CrUX data from the same underlying call.
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_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The fully qualified public URL to audit (must be reachable from Google's servers - localhost / staging URLs won't work). | |
| intent | No | Optional: the user's goal in a few words. No site names or URLs. | |
| strategy | No | "mobile" (default) or "desktop". Mobile uses a slow 4G throttled run with a Moto G4-class CPU; desktop uses an unthrottled high-end profile. | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||