From 79ef6dd8106f1452ca429cd28d4e84d703a0daf7 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 5 Mar 2026 09:47:40 +0100 Subject: [PATCH] fix: tweak lighthouse description --- docs/tool-reference.md | 4 ++-- src/tools/lighthouse.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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,