Skip to content

Chrome DevTools for coding agents

fix: add 'on the selected page' to performance tools (#69)

Jack Franklinb877f7a3053d
diff --git a/docs/tool-reference.md b/docs/tool-reference.md
index 7a4a2b5d..dd661efc 100644
--- a/docs/tool-reference.md
+++ b/docs/tool-reference.md
@@ -219,7 +219,7 @@
### `performance_analyze_insight`
-**Description:** Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording
+**Description:** Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.
**Parameters:**
@@ -229,7 +229,7 @@
### `performance_start_trace`
-**Description:** Starts a performance trace recording
+**Description:** Starts a performance trace recording on the selected page.
**Parameters:**
@@ -240,7 +240,7 @@
### `performance_stop_trace`
-**Description:** Stops the active performance trace recording
+**Description:** Stops the active performance trace recording on the selected page.
**Parameters:** None
diff --git a/src/tools/performance.ts b/src/tools/performance.ts
index a59e73a3..c558ad7f 100644
--- a/src/tools/performance.ts
+++ b/src/tools/performance.ts
@@ -18,7 +18,7 @@ import {ToolCategories} from './categories.js';
export const startTrace = defineTool({
name: 'performance_start_trace',
- description: 'Starts a performance trace recording',
+ description: 'Starts a performance trace recording on the selected page.',
annotations: {
category: ToolCategories.PERFORMANCE,
readOnlyHint: true,
@@ -98,7 +98,8 @@ export const startTrace = defineTool({
export const stopTrace = defineTool({
name: 'performance_stop_trace',
- description: 'Stops the active performance trace recording',
+ description:
+ 'Stops the active performance trace recording on the selected page.',
annotations: {
category: ToolCategories.PERFORMANCE,
readOnlyHint: true,
@@ -116,7 +117,7 @@ export const stopTrace = defineTool({
export const analyzeInsight = defineTool({
name: 'performance_analyze_insight',
description:
- 'Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording',
+ 'Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.',
annotations: {
category: ToolCategories.PERFORMANCE,
readOnlyHint: true,