PageSpeed Insights
pagespeedRun Lighthouse audits for a URL to return performance and SEO scores, Core Web Vitals field data, lab metrics, and top savings opportunities.
Instructions
Run Google PageSpeed Insights (Lighthouse) for a URL.
Returns the performance and SEO scores, Core Web Vitals field data (LCP, INP, CLS, plus FCP/TTFB) from the Chrome UX Report when Google has enough traffic data, lab metrics and the top opportunities by estimated savings. Uses the public API; set PAGESPEED_API_KEY for a higher quota. Quota errors are returned with a hint instead of failing. A run can take up to a minute.
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 | Absolute http(s) URL, e.g. https://example.com/page | |
| strategy | No | Device strategy. | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||