audit_page
Run a detailed Lighthouse audit on any URL. Identify failing elements across performance, accessibility, best-practices, and SEO with actionable fixes.
Instructions
Run a detailed Lighthouse audit on a URL. Returns scores for all categories and a list of failed audits with specific elements that need fixing.
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": "audit_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to audit (can be localhost or public URL) | |
| preset | No | Device preset for the audit. Defaults to desktop | |
| categories | No | Categories to audit. Defaults to all: performance, accessibility, best-practices, seo |