lighthouse_audit
Audit website accessibility using Lighthouse CLI to identify and fix WCAG compliance issues for URLs, local files, or localhost.
Instructions
Run an accessibility audit using Lighthouse CLI. Supports URLs, local file paths, and localhost URLs.
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": "lighthouse_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to audit (http://, https://), local file path (./file.html), or file:// URL | |
| categories | No | Lighthouse categories to include (default: accessibility) | |
| options | No | Optional Lighthouse configuration |