lighthouse
Run Lighthouse audits on a given or current URL and return category scores for performance, accessibility, best-practices, and SEO.
Instructions
Run Lighthouse (through npx) against the current or given URL and return the scores. Needs node/npx on PATH (npx fetches Lighthouse on first use), takes tens of seconds, and does not change the page.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| categories | No | performance,accessibility,best-practices,seo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |