Skip to content

Commit aa9d98d

Browse files
committed
fix: add 'on the selected page' to performance tools
To hopefully ensure the client makes sure to navigate to and select a page before starting the trace. Bug: 446171427
1 parent bfbdada commit aa9d98d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tools/performance.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {ToolCategories} from './categories.js';
1818

1919
export const startTrace = defineTool({
2020
name: 'performance_start_trace',
21-
description: 'Starts a performance trace recording',
21+
description: 'Starts a performance trace recording on the selected page.',
2222
annotations: {
2323
category: ToolCategories.PERFORMANCE,
2424
readOnlyHint: true,
@@ -98,7 +98,8 @@ export const startTrace = defineTool({
9898

9999
export const stopTrace = defineTool({
100100
name: 'performance_stop_trace',
101-
description: 'Stops the active performance trace recording',
101+
description:
102+
'Stops the active performance trace recording on the selected page.',
102103
annotations: {
103104
category: ToolCategories.PERFORMANCE,
104105
readOnlyHint: true,
@@ -116,7 +117,7 @@ export const stopTrace = defineTool({
116117
export const analyzeInsight = defineTool({
117118
name: 'performance_analyze_insight',
118119
description:
119-
'Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording',
120+
'Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.',
120121
annotations: {
121122
category: ToolCategories.PERFORMANCE,
122123
readOnlyHint: true,

0 commit comments

Comments
 (0)