get_pagespeed_insights
Run Google PageSpeed Insights for a URL to get Lighthouse lab data and Chrome UX Report field data, helping audit mobile or desktop page speed, SEO, accessibility, and best practices.
Instructions
Run Google's PageSpeed Insights API for a URL.
Returns Lighthouse lab data plus available Chrome UX Report field data.
Args:
url: Full page URL
strategy: mobile or desktop
categories: Comma-separated Lighthouse categories
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": "get_pagespeed_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| strategy | No | mobile | |
| categories | No | performance,seo,accessibility,best-practices |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |