Skip to content

Commit a061909

Browse files
committed
chore: rephrase
1 parent 868e77c commit a061909

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

docs/tool-reference.md

Lines changed: 5 additions & 5 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 (~7146 cl100k_base tokens)
3+
# Chrome DevTools MCP Tool Reference (~7125 cl100k_base tokens)
44

55
- **[Input automation](#input-automation)** (8 tools)
66
- [`click`](#click)
@@ -336,13 +336,13 @@ so returned values have to be JSON-serializable.
336336

337337
### `lighthouse_audit`
338338

339-
**Description:** Get Lighthouse score and reports for accesibility, SEO and best practices.
339+
**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices.
340340

341341
**Parameters:**
342342

343-
- **device** (enum: "desktop", "mobile") _(optional)_: The device to [`emulate`](#emulate).
344-
- **mode** (enum: "navigation", "snapshot") _(optional)_: "navigation" reloads the selected page and audits during the navigation. The "snapshot" mode analyzes the page in its current state.
345-
- **outputDirPath** (string) _(optional)_: The directory to output the reports to. If not provided, temporary files will be created.
343+
- **device** (enum: "desktop", "mobile") _(optional)_: Device to [`emulate`](#emulate).
344+
- **mode** (enum: "navigation", "snapshot") _(optional)_: "navigation" reloads &amp; audits. "snapshot" analyzes current state.
345+
- **outputDirPath** (string) _(optional)_: Directory for reports. If omitted, uses temporary files.
346346

347347
---
348348

src/tools/lighthouse.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {defineTool} from './ToolDefinition.js';
2121

2222
export const lighthouseAudit = defineTool({
2323
name: 'lighthouse_audit',
24-
description: `Get Lighthouse score and reports for accesibility, SEO and best practices.`,
24+
description: `Get Lighthouse score and reports for accessibility, SEO and best practices.`,
2525
annotations: {
2626
category: ToolCategory.DEBUGGING,
2727
readOnlyHint: true,
@@ -31,18 +31,16 @@ export const lighthouseAudit = defineTool({
3131
.enum(['navigation', 'snapshot'])
3232
.default('navigation')
3333
.describe(
34-
'"navigation" reloads the selected page and audits during the navigation. The "snapshot" mode analyzes the page in its current state.',
34+
'"navigation" reloads & audits. "snapshot" analyzes current state.',
3535
),
3636
device: zod
3737
.enum(['desktop', 'mobile'])
3838
.default('desktop')
39-
.describe('The device to emulate.'),
39+
.describe('Device to emulate.'),
4040
outputDirPath: zod
4141
.string()
4242
.optional()
43-
.describe(
44-
'The directory to output the reports to. If not provided, temporary files will be created.',
45-
),
43+
.describe('Directory for reports. If omitted, uses temporary files.'),
4644
},
4745
handler: async (request, response, context) => {
4846
const page = context.getSelectedPage();

0 commit comments

Comments
 (0)