run_lighthouse_audit
Run a local Lighthouse audit on a trusted URL to measure performance, SEO, accessibility, and best practices for mobile or desktop.
Instructions
Run a local Lighthouse CLI audit for an explicitly trusted URL.
Requires SEO_AUDIT_ENABLE_LOCAL_LIGHTHOUSE=true, Node.js and Chrome/Chromium.
Lighthouse browser networking is not guarded by the public crawl transport.
Args:
url: Full page URL
form_factor: mobile or desktop
categories: Comma-separated Lighthouse categories
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": "run_lighthouse_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| categories | No | performance,seo,accessibility,best-practices | |
| form_factor | No | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |