lighthouse_audit
Run Lighthouse audits for accessibility, SEO, best practices, and agentic browsing on a specified page, generating reports without performance metrics.
Instructions
Get Lighthouse score and reports for accessibility, SEO, best practices, and agentic browsing. This excludes performance. For performance audits, run performance_start_trace
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": {
"pageId": "<pageId>"
},
"name": "lighthouse_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "navigation" reloads & audits. "snapshot" analyzes current state. | navigation |
| device | No | Device to emulate. | desktop |
| pageId | Yes | Targets a specific page by ID. | |
| outputDirPath | No | Directory for reports. If omitted, uses temporary files. |