Chrome DevTools for coding agents
fix: tweak lighthouse description (#1112)
Alex Rudenko55381804ae7f
diff --git a/docs/tool-reference.md b/docs/tool-reference.mdindex e13e9444..219b965c 100644--- a/docs/tool-reference.md+++ b/docs/tool-reference.md@@ -1,6 +1,6 @@<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->-# 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.tsindex 0c46c3ac..3c831d81 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,