psi_analyze
Run PageSpeed Insights on a URL to retrieve Lighthouse category scores, synthetic lab metrics, and field Core Web Vitals from real-user CrUX data. Defaults to mobile strategy.
Instructions
Run PageSpeed Insights on a URL and return Lighthouse category scores, lab Core Web Vitals (synthetic), and field Core Web Vitals (real-user CrUX) when available. Defaults to the mobile strategy (Google ranks on mobile).
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": "psi_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to analyze. Required. | |
| strategy | No | Defaults to mobile. | |
| categories | No | Lighthouse categories to run. Defaults to all four. |