analyze_page_speed
Analyzes website speed using Google PageSpeed Insights, providing performance metrics for both mobile and desktop strategies to improve user experience and SEO.
Instructions
Analyzes site speed using Google PageSpeed Insights. Requires GOOGLE_PSI_API_KEY in .env.
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_page_speed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to test. | |
| strategy | No | 'mobile' or 'desktop'. | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||