performance.evaluate
Evaluate any web page's performance with Core Web Vitals metrics. Get a score (0-100), grade, and optional improvement recommendations based on custom or default budgets.
Instructions
Evaluate web page performance using Core Web Vitals (LCP, FID, CLS, INP, TTFB) via Playwright PerformanceObserver API. Returns a score (0-100), grade, and optional improvement recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL for performance evaluation (SSRF validated). Must be an external URL (private IPs blocked). | |
| include_details | No | Include budget comparisons and improvement recommendations (default: false). Set to true for detailed performance analysis. | |
| budget | No | Custom performance budget. Defaults to Google recommended values: LCP < 2.5s, CLS < 0.1, FID < 100ms, TTFB < 800ms, INP < 200ms. |