audit_pagespeed
Run a Lighthouse lab audit on any URL to get synthetic performance scores, Core Web Vitals metrics like LCP and TBT, and prioritized fixes for mobile or desktop.
Instructions
Run a Google PageSpeed Insights lab audit for synthetic Lighthouse performance scores and diagnostics.
Returns overall performance score (0-100), Speed Index, Total Blocking Time (TBT), Largest Contentful Paint (LCP), and prioritized remediation opportunities.
Args: url: URL of the web page to audit (e.g. 'https://surendranb.com'). strategy: Analysis strategy ('mobile' or 'desktop'). Defaults to 'mobile'. api_key: Optional Google API Key. If omitted, checks GOOGLE_API_KEY or PAGESPEED_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| api_key | No | ||
| strategy | No | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |