Analyze page speed
pagespeed_analyzeRuns one Google PageSpeed Insights audit (Lighthouse lab data and Chrome UX Report field data) of a public URL with its https:// scheme, for mobile, desktop or both (the default), with one result per device. Lab data (LCP, CLS, FCP, TTFB, TBT, Speed Index) is kept apart from field data (real users' LCP, INP, CLS, FCP and TTFB for the URL, then its origin); field.preferredSource says which applies. Lab runs can't measure INP; TBT stands in for it. categories adds accessibility, best-practices, seo or agentic-browsing (a pass/total fraction). It takes 15 to 60 seconds per device and already retries failures on Google's side; a device PageSpeed couldn't load or finish is listed in unavailable with the reason, and an error means Google rejected the request (a bad URL, or Replo's quota is used up). It reads the page and changes nothing. It runs on Replo's Google PageSpeed account.
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>",
"projectId": "<projectId>"
},
"name": "pagespeed_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to audit, including the https:// scheme. | |
| strategy | No | Device profile to emulate. "both" runs mobile and desktop and returns one result per device. Defaults to "both". | |
| projectId | Yes | ||
| categories | No | Lighthouse categories to run. Defaults to ["performance"]. |