Skip to content

Commit 5a61ea1

Browse files
connorjclarkOrKoN
authored andcommitted
docs
1 parent 7581f0a commit 5a61ea1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/tool-reference.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,12 @@
215215

216216
### `performance_analyze_insight`
217217

218-
**Description:** Provides more detailed information on a specific Performance Insight that was highlighted in the results of a trace recording.
218+
**Description:** Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.
219219

220220
**Parameters:**
221221

222222
- **insightName** (string) **(required)**: The name of the Insight you want more information on. For example: "DocumentLatency" or "LCPBreakdown"
223+
- **insightSetId** (string) **(required)**: The id for the specific insight set. Only use the ids given in the "Available insight sets" list.
223224

224225
---
225226

@@ -278,15 +279,16 @@ so returned values have to JSON-serializable.
278279

279280
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
280281
- **function** (string) **(required)**: A JavaScript function declaration to be executed by the tool in the currently selected page.
281-
Example without arguments: `() => {
282+
Example without arguments: `() => {
282283
return document.title
283284
}` or `async () => {
284285
return await fetch("example.com")
285286
}`.
286-
Example with arguments: `(el) => {
287+
Example with arguments: `(el) => {
287288
return el.innerText;
288289
}`
289290

291+
290292
---
291293

292294
### `get_console_message`

0 commit comments

Comments
 (0)