Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tool-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,12 @@

### `performance_start_trace`

**Description:** Starts a performance trace recording on the selected page.
**Description:** Starts a performance trace recording on the selected page. This can be used to look for performance problems and insights to improve the performance of the page. It will also report Core Web Vital (CWV) scores for the page.

**Parameters:**

- **autoStop** (boolean) **(required)**: Determines if the trace recording should be automatically stopped.
- **reload** (boolean) **(required)**: Determines if, once tracing has started, the page should be automatically reloaded
- **reload** (boolean) **(required)**: Determines if, once tracing has started, the page should be automatically reloaded.

---

Expand Down
5 changes: 3 additions & 2 deletions src/tools/performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import {defineTool} from './ToolDefinition.js';

export const startTrace = defineTool({
name: 'performance_start_trace',
description: 'Starts a performance trace recording on the selected page.',
description:
'Starts a performance trace recording on the selected page. This can be used to look for performance problems and insights to improve the performance of the page. It will also report Core Web Vital (CWV) scores for the page.',
annotations: {
category: ToolCategories.PERFORMANCE,
readOnlyHint: true,
Expand All @@ -31,7 +32,7 @@ export const startTrace = defineTool({
reload: z
.boolean()
.describe(
'Determines if, once tracing has started, the page should be automatically reloaded',
'Determines if, once tracing has started, the page should be automatically reloaded.',
),
autoStop: z
.boolean()
Expand Down
Loading