analyze_performance
Run Lighthouse audits on any URL to get Core Web Vitals metrics and prioritized recommendations for improving performance.
Instructions
Run Lighthouse on a URL and get Core Web Vitals scores, metrics, and prioritized recommendations. Returns LCP, FCP, CLS, TBT, SI, TTFB with good/needs-improvement/poor ratings.
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_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to analyze | |
| device | No | Device emulation (default: mobile) | |
| categories | No | Lighthouse categories: performance, accessibility, seo, best-practices (default: [performance]) |