lighthouse_audit
Audit accessibility, SEO, and best practices on desktop or mobile, excluding performance. Choose navigation or snapshot mode and save reports to a chosen directory.
Instructions
Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run performance_start_trace
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"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 |
| outputDirPath | No | Directory for reports. If omitted, uses temporary files. |