run_audit
Analyze webpage performance, accessibility, SEO, and best practices using Lighthouse audits by specifying a URL, device type, and optional categories.
Instructions
Run a Lighthouse audit on a URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
categories | No | Categories to audit (defaults to all) | |
device | No | Device to emulate (defaults to mobile) | |
throttling | No | Whether to apply network throttling (defaults to true) | |
url | Yes | URL to audit |
Input Schema (JSON Schema)
{
"properties": {
"categories": {
"description": "Categories to audit (defaults to all)",
"items": {
"enum": [
"performance",
"accessibility",
"best-practices",
"seo",
"pwa"
],
"type": "string"
},
"type": "array"
},
"device": {
"description": "Device to emulate (defaults to mobile)",
"enum": [
"mobile",
"desktop"
],
"type": "string"
},
"throttling": {
"description": "Whether to apply network throttling (defaults to true)",
"type": "boolean"
},
"url": {
"description": "URL to audit",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}