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: src/bin/chrome-devtools-mcp-cli-options.ts
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,12 @@ export const cliOptions = {
170
170
type: 'boolean',
171
171
describe: 'Whether to output structured formatted content.',
172
172
},
173
+
experimentalToonFormat: {
174
+
type: 'boolean',
175
+
describe:
176
+
'Whether to format structured data in text response using Token-Oriented Object Notation. Defaults to false which represents the embedded content as formatted JSON instead.',
177
+
hidden: true,
178
+
},
173
179
experimentalIncludeAllPages: {
174
180
type: 'boolean',
175
181
describe:
@@ -306,7 +312,7 @@ export function parseArguments(
306
312
constyargsInstance=yargs(hideBin(argv))
307
313
.scriptName('npx chrome-devtools-mcp@latest')
308
314
.options(cliOptions)
309
-
.check(args=>{
315
+
.middleware(args=>{
310
316
// We can't set default in the options else
311
317
// Yargs will complain
312
318
if(
@@ -323,7 +329,6 @@ export function parseArguments(
0 commit comments