Run Lighthouse audit
run_lighthouseRun a Google PageSpeed Insights audit for a single public URL to get performance, accessibility, best-practice, and SEO scores plus diagnostic findings; choose mobile or desktop.
Instructions
Run a fresh Lighthouse lab audit of one public HTTP(S) page using Google PageSpeed Insights. Use for website speed and performance testing, accessibility checks, and basic on-page SEO checks. Returns performance, accessibility, best-practices and SEO scores, lab metrics, and audit findings. Defaults to mobile and can take up to about a minute. The URL is sent to Google. No separate signup or user-provided API key is required. Private or authenticated pages and whole-site crawls are unsupported. No audit history is retained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute public http:// or https:// URL of one page, at most 2,048 characters. Add https:// to a bare domain. | |
| device | No | Device profile to emulate. One call audits one device; defaults to mobile. | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | Yes | ||
| report | Yes | ||
| requestId | Yes | ||
| schemaVersion | Yes |