diff --git a/docs/tool-reference.md b/docs/tool-reference.md index e13e94445..219b965c7 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -1,6 +1,6 @@ -# Chrome DevTools MCP Tool Reference (~6927 cl100k_base tokens) +# Chrome DevTools MCP Tool Reference (~6940 cl100k_base tokens) - **[Input automation](#input-automation)** (9 tools) - [`click`](#click) @@ -348,7 +348,7 @@ so returned values have to be JSON-serializable. ### `lighthouse_audit` -**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices. +**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) **Parameters:** diff --git a/src/tools/lighthouse.ts b/src/tools/lighthouse.ts index 0c46c3ac5..3c831d815 100644 --- a/src/tools/lighthouse.ts +++ b/src/tools/lighthouse.ts @@ -17,11 +17,12 @@ import { } from '../third_party/index.js'; import {ToolCategory} from './categories.js'; +import {startTrace} from './performance.js'; import {definePageTool} from './ToolDefinition.js'; export const lighthouseAudit = definePageTool({ name: 'lighthouse_audit', - description: `Get Lighthouse score and reports for accessibility, SEO and best practices.`, + description: `Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run ${startTrace.name}`, annotations: { category: ToolCategory.DEBUGGING, readOnlyHint: true,