Skip to content

Commit bfecb6c

Browse files
update docs
1 parent 4b03774 commit bfecb6c

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

docs/tool-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run gen' to update-->
22

3-
# Chrome DevTools MCP Tool Reference (~6962 cl100k_base tokens)
3+
# Chrome DevTools MCP Tool Reference (~7005 cl100k_base tokens)
44

55
- **[Input automation](#input-automation)** (9 tools)
66
- [`click`](#click)
@@ -333,6 +333,7 @@ so returned values have to be JSON-serializable.
333333
}`
334334

335335
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
336+
- **dialogAction** (string) _(optional)_: Handle dialogs while execution. "accept", "dismiss", or string for response of window.prompt. Defaults to accept.
336337

337338
---
338339

src/bin/cliDefinitions.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ export const commands: Commands = {
155155
description: 'An optional list of arguments to pass to the function.',
156156
required: false,
157157
},
158+
dialogAction: {
159+
name: 'dialogAction',
160+
type: 'string',
161+
description:
162+
'Handle dialogs while execution. "accept", "dismiss", or string for response of window.prompt. Defaults to accept.',
163+
required: false,
164+
},
158165
},
159166
},
160167
fill: {

src/telemetry/tool_call_metrics.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
{
108108
"name": "args_count",
109109
"argType": "number"
110+
},
111+
{
112+
"name": "dialog_action_length",
113+
"argType": "number"
110114
}
111115
]
112116
},

0 commit comments

Comments
 (0)