get_lighthouse
Runs Lighthouse audits to generate performance, accessibility, best practices, and SEO reports for a given URL. Optionally filter by categories or skip specific audits.
Instructions
获取 Lighthouse 性能报告(包括性能、可访问性、最佳实践、SEO 等指标)
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": "get_lighthouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 页面 URL(可选) | |
| onlyCategories | No | 只分析的类别(可选,如:performance, accessibility, best-practices, seo) | |
| skipAudits | No | 跳过的审计项 ID(可选,如:uses-optimized-images, render-blocking-resources) |