Analyze URL
analyze_urlRun Google PageSpeed Insights on a URL to obtain all category scores, key performance metrics, and top improvement opportunities.
Instructions
Run a comprehensive Google PageSpeed Insights analysis on a URL. Returns all category scores, key performance metrics, and top improvement opportunities.
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": "analyze_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to analyze (e.g., https://example.com) | |
| strategy | No | Device strategy for the analysis | mobile |
| categories | No | Lighthouse categories to include |