豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 5538180

Browse files
authored
fix: tweak lighthouse description (#1112)
1 parent d95e9ba commit 5538180

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/tool-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->
22

3-
# Chrome DevTools MCP Tool Reference (~6927 cl100k_base tokens)
3+
# Chrome DevTools MCP Tool Reference (~6940 cl100k_base tokens)
44

55
- **[Input automation](#input-automation)** (9 tools)
66
- [`click`](#click)
@@ -348,7 +348,7 @@ so returned values have to be JSON-serializable.
348348

349349
### `lighthouse_audit`
350350

351-
**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices.
351+
**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run [`performance_start_trace`](#performance_start_trace)
352352

353353
**Parameters:**
354354

src/tools/lighthouse.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ import {
1717
} from '../third_party/index.js';
1818

1919
import {ToolCategory} from './categories.js';
20+
import {startTrace} from './performance.js';
2021
import {definePageTool} from './ToolDefinition.js';
2122

2223
export const lighthouseAudit = definePageTool({
2324
name: 'lighthouse_audit',
24-
description: `Get Lighthouse score and reports for accessibility, SEO and best practices.`,
25+
description: `Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run ${startTrace.name}`,
2526
annotations: {
2627
category: ToolCategory.DEBUGGING,
2728
readOnlyHint: true,

0 commit comments

Comments
 (0)