You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tool-reference.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,14 +234,17 @@
234
234
235
235
-**autoStop** (boolean) **(required)**: Determines if the trace recording should be automatically stopped.
236
236
-**reload** (boolean) **(required)**: Determines if, once tracing has started, the page should be automatically reloaded.
237
+
-**filePath** (string) _(optional)_: The absolute file path, or a file path relative to the current working directory, to save the raw trace data. For example, trace.json.gz (compressed) or trace.json (uncompressed).
237
238
238
239
---
239
240
240
241
### `performance_stop_trace`
241
242
242
243
**Description:** Stops the active performance trace recording on the selected page.
243
244
244
-
**Parameters:** None
245
+
**Parameters:**
246
+
247
+
-**filePath** (string) _(optional)_: The absolute file path, or a file path relative to the current working directory, to save the raw trace data. For example, trace.json.gz (compressed) or trace.json (uncompressed).
'The absolute file path, or a file path relative to the current working directory, to save the raw trace data. For example, trace.json.gz (compressed) or trace.json (uncompressed).',
29
+
);
30
+
22
31
exportconststartTrace=defineTool({
23
32
name: 'performance_start_trace',
24
33
description:
25
34
'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.',
0 commit comments