@omega.js/mcp-router 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1013 @@
1
+ {
2
+ "enabled": true,
3
+ "command": "npx",
4
+ "args": [
5
+ "-y",
6
+ "chrome-devtools-mcp@1.4.0",
7
+ "--isolated",
8
+ "--acceptInsecureCerts",
9
+ "--usage-statistics=false"
10
+ ],
11
+ "tools": [
12
+ {
13
+ "name": "click",
14
+ "description": "Clicks on the provided element",
15
+ "inputSchema": {
16
+ "type": "object",
17
+ "properties": {
18
+ "uid": {
19
+ "type": "string",
20
+ "description": "The uid of an element on the page from the page content snapshot"
21
+ },
22
+ "dblClick": {
23
+ "type": "boolean",
24
+ "description": "Set to true for double clicks. Default is false."
25
+ },
26
+ "includeSnapshot": {
27
+ "type": "boolean",
28
+ "description": "Whether to include a snapshot in the response. Default is false."
29
+ }
30
+ },
31
+ "required": [
32
+ "uid"
33
+ ],
34
+ "additionalProperties": true,
35
+ "$schema": "http://json-schema.org/draft-07/schema#"
36
+ },
37
+ "annotations": {
38
+ "readOnlyHint": false
39
+ },
40
+ "execution": {
41
+ "taskSupport": "forbidden"
42
+ }
43
+ },
44
+ {
45
+ "name": "close_page",
46
+ "description": "Closes the page by its index. The last open page cannot be closed.",
47
+ "inputSchema": {
48
+ "type": "object",
49
+ "properties": {
50
+ "pageId": {
51
+ "type": "number",
52
+ "description": "The ID of the page to close. Call list_pages to list pages."
53
+ }
54
+ },
55
+ "required": [
56
+ "pageId"
57
+ ],
58
+ "additionalProperties": true,
59
+ "$schema": "http://json-schema.org/draft-07/schema#"
60
+ },
61
+ "annotations": {
62
+ "readOnlyHint": false
63
+ },
64
+ "execution": {
65
+ "taskSupport": "forbidden"
66
+ }
67
+ },
68
+ {
69
+ "name": "drag",
70
+ "description": "Drag an element onto another element",
71
+ "inputSchema": {
72
+ "type": "object",
73
+ "properties": {
74
+ "from_uid": {
75
+ "type": "string",
76
+ "description": "The uid of the element to drag"
77
+ },
78
+ "to_uid": {
79
+ "type": "string",
80
+ "description": "The uid of the element to drop into"
81
+ },
82
+ "includeSnapshot": {
83
+ "type": "boolean",
84
+ "description": "Whether to include a snapshot in the response. Default is false."
85
+ }
86
+ },
87
+ "required": [
88
+ "from_uid",
89
+ "to_uid"
90
+ ],
91
+ "additionalProperties": true,
92
+ "$schema": "http://json-schema.org/draft-07/schema#"
93
+ },
94
+ "annotations": {
95
+ "readOnlyHint": false
96
+ },
97
+ "execution": {
98
+ "taskSupport": "forbidden"
99
+ }
100
+ },
101
+ {
102
+ "name": "emulate",
103
+ "description": "Emulates various features on the selected page.",
104
+ "inputSchema": {
105
+ "type": "object",
106
+ "properties": {
107
+ "networkConditions": {
108
+ "type": "string",
109
+ "enum": [
110
+ "Offline",
111
+ "Slow 3G",
112
+ "Fast 3G",
113
+ "Slow 4G",
114
+ "Fast 4G"
115
+ ],
116
+ "description": "Throttle network. Omit to disable throttling."
117
+ },
118
+ "cpuThrottlingRate": {
119
+ "type": "number",
120
+ "minimum": 1,
121
+ "maximum": 20,
122
+ "description": "Represents the CPU slowdown factor. Omit or set the rate to 1 to disable throttling"
123
+ },
124
+ "geolocation": {
125
+ "type": "string",
126
+ "description": "Geolocation (`<latitude>,<longitude>`) to emulate. Latitude between -90 and 90. Longitude between -180 and 180. Omit to clear the geolocation override."
127
+ },
128
+ "userAgent": {
129
+ "type": "string",
130
+ "description": "User agent to emulate. Set to empty string to clear the user agent override."
131
+ },
132
+ "colorScheme": {
133
+ "type": "string",
134
+ "enum": [
135
+ "dark",
136
+ "light",
137
+ "auto"
138
+ ],
139
+ "description": "Emulate the dark or the light mode. Set to \"auto\" to reset to the default."
140
+ },
141
+ "viewport": {
142
+ "type": "string",
143
+ "description": "Emulate device viewports '<width>x<height>x<devicePixelRatio>[,mobile][,touch][,landscape]'. 'touch' and 'mobile' to emulate mobile devices. 'landscape' to emulate landscape mode."
144
+ },
145
+ "extraHttpHeaders": {
146
+ "type": "string",
147
+ "description": "Extra HTTP headers as a JSON string object, e.g. {\"X-Custom\": \"value\", \"Authorization\": \"Bearer token\"}. Headers are included into every HTTP request originating from the page and persist across navigations until cleared. Pass an empty string to clear all extra headers."
148
+ }
149
+ },
150
+ "additionalProperties": true,
151
+ "$schema": "http://json-schema.org/draft-07/schema#"
152
+ },
153
+ "annotations": {
154
+ "readOnlyHint": false
155
+ },
156
+ "execution": {
157
+ "taskSupport": "forbidden"
158
+ }
159
+ },
160
+ {
161
+ "name": "evaluate_script",
162
+ "description": "Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON,\nso returned values have to be JSON-serializable.",
163
+ "inputSchema": {
164
+ "type": "object",
165
+ "properties": {
166
+ "function": {
167
+ "type": "string",
168
+ "description": "A JavaScript function declaration to be executed by the tool in the currently selected page.\nExample without arguments: `() => {\n return document.title\n}` or `async () => {\n return await fetch(\"example.com\")\n}`.\nExample with arguments: `(el) => {\n return el.innerText;\n}`\n"
169
+ },
170
+ "args": {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string",
174
+ "description": "The uid of an element on the page from the page content snapshot"
175
+ },
176
+ "description": "An optional list of arguments to pass to the function."
177
+ },
178
+ "filePath": {
179
+ "type": "string",
180
+ "description": "The absolute or relative path to a file to save the script output to. If omitted, the output is returned inline."
181
+ },
182
+ "dialogAction": {
183
+ "type": "string",
184
+ "description": "Handle dialogs while execution. \"accept\", \"dismiss\", or string for response of window.prompt. Defaults to accept."
185
+ }
186
+ },
187
+ "required": [
188
+ "function"
189
+ ],
190
+ "additionalProperties": true,
191
+ "$schema": "http://json-schema.org/draft-07/schema#"
192
+ },
193
+ "annotations": {
194
+ "readOnlyHint": false
195
+ },
196
+ "execution": {
197
+ "taskSupport": "forbidden"
198
+ }
199
+ },
200
+ {
201
+ "name": "fill",
202
+ "description": "Type text into an input, text area or select an option from a <select> element.",
203
+ "inputSchema": {
204
+ "type": "object",
205
+ "properties": {
206
+ "uid": {
207
+ "type": "string",
208
+ "description": "The uid of an element on the page from the page content snapshot"
209
+ },
210
+ "value": {
211
+ "type": "string",
212
+ "description": "The value to fill in. \"true\" or \"false\" for checkboxes and toggles, \"true\" for radio buttons."
213
+ },
214
+ "includeSnapshot": {
215
+ "type": "boolean",
216
+ "description": "Whether to include a snapshot in the response. Default is false."
217
+ }
218
+ },
219
+ "required": [
220
+ "uid",
221
+ "value"
222
+ ],
223
+ "additionalProperties": true,
224
+ "$schema": "http://json-schema.org/draft-07/schema#"
225
+ },
226
+ "annotations": {
227
+ "readOnlyHint": false
228
+ },
229
+ "execution": {
230
+ "taskSupport": "forbidden"
231
+ }
232
+ },
233
+ {
234
+ "name": "fill_form",
235
+ "description": "Fill out multiple form elements (inputs, selects, checkboxes, radios) at once. ALWAYS prefer this tool over multiple individual 'fill' or 'click' calls when interacting with forms. It is significantly faster, more reliable, and reduces turn count. Example: Fill username, password, and check \"Remember Me\" in one call.",
236
+ "inputSchema": {
237
+ "type": "object",
238
+ "properties": {
239
+ "elements": {
240
+ "type": "array",
241
+ "items": {
242
+ "type": "object",
243
+ "properties": {
244
+ "uid": {
245
+ "type": "string",
246
+ "description": "The uid of the element to fill out"
247
+ },
248
+ "value": {
249
+ "type": "string",
250
+ "description": "Value for the element. \"true\" or \"false\" for checkboxes and toggles, \"true\" for radio buttons."
251
+ }
252
+ },
253
+ "required": [
254
+ "uid",
255
+ "value"
256
+ ],
257
+ "additionalProperties": false
258
+ },
259
+ "description": "Elements from snapshot to fill out."
260
+ },
261
+ "includeSnapshot": {
262
+ "type": "boolean",
263
+ "description": "Whether to include a snapshot in the response. Default is false."
264
+ }
265
+ },
266
+ "required": [
267
+ "elements"
268
+ ],
269
+ "additionalProperties": true,
270
+ "$schema": "http://json-schema.org/draft-07/schema#"
271
+ },
272
+ "annotations": {
273
+ "readOnlyHint": false
274
+ },
275
+ "execution": {
276
+ "taskSupport": "forbidden"
277
+ }
278
+ },
279
+ {
280
+ "name": "get_console_message",
281
+ "description": "Gets a console message by its ID. You can get all messages by calling list_console_messages.",
282
+ "inputSchema": {
283
+ "type": "object",
284
+ "properties": {
285
+ "msgid": {
286
+ "type": "number",
287
+ "description": "The msgid of a console message on the page from the listed console messages"
288
+ }
289
+ },
290
+ "required": [
291
+ "msgid"
292
+ ],
293
+ "additionalProperties": true,
294
+ "$schema": "http://json-schema.org/draft-07/schema#"
295
+ },
296
+ "annotations": {
297
+ "readOnlyHint": true
298
+ },
299
+ "execution": {
300
+ "taskSupport": "forbidden"
301
+ }
302
+ },
303
+ {
304
+ "name": "get_network_request",
305
+ "description": "Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.",
306
+ "inputSchema": {
307
+ "type": "object",
308
+ "properties": {
309
+ "reqid": {
310
+ "type": "number",
311
+ "description": "The reqid of the network request. If omitted returns the currently selected request in the DevTools Network panel."
312
+ },
313
+ "requestFilePath": {
314
+ "type": "string",
315
+ "description": "The absolute or relative path to a .network-request file to save the request body to. If omitted, the body is returned inline."
316
+ },
317
+ "responseFilePath": {
318
+ "type": "string",
319
+ "description": "The absolute or relative path to a .network-response file to save the response body to. If omitted, the body is returned inline."
320
+ }
321
+ },
322
+ "additionalProperties": true,
323
+ "$schema": "http://json-schema.org/draft-07/schema#"
324
+ },
325
+ "annotations": {
326
+ "readOnlyHint": false
327
+ },
328
+ "execution": {
329
+ "taskSupport": "forbidden"
330
+ }
331
+ },
332
+ {
333
+ "name": "handle_dialog",
334
+ "description": "If a browser dialog was opened, use this command to handle it",
335
+ "inputSchema": {
336
+ "type": "object",
337
+ "properties": {
338
+ "action": {
339
+ "type": "string",
340
+ "enum": [
341
+ "accept",
342
+ "dismiss"
343
+ ],
344
+ "description": "Whether to dismiss or accept the dialog"
345
+ },
346
+ "promptText": {
347
+ "type": "string",
348
+ "description": "Optional prompt text to enter into the dialog."
349
+ }
350
+ },
351
+ "required": [
352
+ "action"
353
+ ],
354
+ "additionalProperties": true,
355
+ "$schema": "http://json-schema.org/draft-07/schema#"
356
+ },
357
+ "annotations": {
358
+ "readOnlyHint": false
359
+ },
360
+ "execution": {
361
+ "taskSupport": "forbidden"
362
+ }
363
+ },
364
+ {
365
+ "name": "hover",
366
+ "description": "Hover over the provided element",
367
+ "inputSchema": {
368
+ "type": "object",
369
+ "properties": {
370
+ "uid": {
371
+ "type": "string",
372
+ "description": "The uid of an element on the page from the page content snapshot"
373
+ },
374
+ "includeSnapshot": {
375
+ "type": "boolean",
376
+ "description": "Whether to include a snapshot in the response. Default is false."
377
+ }
378
+ },
379
+ "required": [
380
+ "uid"
381
+ ],
382
+ "additionalProperties": true,
383
+ "$schema": "http://json-schema.org/draft-07/schema#"
384
+ },
385
+ "annotations": {
386
+ "readOnlyHint": false
387
+ },
388
+ "execution": {
389
+ "taskSupport": "forbidden"
390
+ }
391
+ },
392
+ {
393
+ "name": "lighthouse_audit",
394
+ "description": "Get Lighthouse score and reports for accessibility, SEO, best practices, and agentic browsing. This excludes performance. For performance audits, run performance_start_trace",
395
+ "inputSchema": {
396
+ "type": "object",
397
+ "properties": {
398
+ "mode": {
399
+ "type": "string",
400
+ "enum": [
401
+ "navigation",
402
+ "snapshot"
403
+ ],
404
+ "default": "navigation",
405
+ "description": "\"navigation\" reloads & audits. \"snapshot\" analyzes current state."
406
+ },
407
+ "device": {
408
+ "type": "string",
409
+ "enum": [
410
+ "desktop",
411
+ "mobile"
412
+ ],
413
+ "default": "desktop",
414
+ "description": "Device to emulate."
415
+ },
416
+ "outputDirPath": {
417
+ "type": "string",
418
+ "description": "Directory for reports. If omitted, uses temporary files."
419
+ }
420
+ },
421
+ "additionalProperties": true,
422
+ "$schema": "http://json-schema.org/draft-07/schema#"
423
+ },
424
+ "annotations": {
425
+ "readOnlyHint": false
426
+ },
427
+ "execution": {
428
+ "taskSupport": "forbidden"
429
+ }
430
+ },
431
+ {
432
+ "name": "list_console_messages",
433
+ "description": "List all console messages for the currently selected page since the last navigation.",
434
+ "inputSchema": {
435
+ "type": "object",
436
+ "properties": {
437
+ "pageSize": {
438
+ "type": "integer",
439
+ "exclusiveMinimum": 0,
440
+ "description": "Maximum number of messages to return. When omitted, returns all messages."
441
+ },
442
+ "pageIdx": {
443
+ "type": "integer",
444
+ "minimum": 0,
445
+ "description": "Page number to return (0-based). When omitted, returns the first page."
446
+ },
447
+ "types": {
448
+ "type": "array",
449
+ "items": {
450
+ "type": "string",
451
+ "enum": [
452
+ "log",
453
+ "debug",
454
+ "info",
455
+ "error",
456
+ "warn",
457
+ "dir",
458
+ "dirxml",
459
+ "table",
460
+ "trace",
461
+ "clear",
462
+ "startGroup",
463
+ "startGroupCollapsed",
464
+ "endGroup",
465
+ "assert",
466
+ "profile",
467
+ "profileEnd",
468
+ "count",
469
+ "timeEnd",
470
+ "verbose",
471
+ "issue"
472
+ ]
473
+ },
474
+ "description": "Filter messages to only return messages of the specified resource types. When omitted or empty, returns all messages."
475
+ },
476
+ "includePreservedMessages": {
477
+ "type": "boolean",
478
+ "default": false,
479
+ "description": "Set to true to return the preserved messages over the last 3 navigations."
480
+ },
481
+ "serviceWorkerId": {
482
+ "type": "string",
483
+ "description": "Filter messages to only return messages of the specified service worker."
484
+ }
485
+ },
486
+ "additionalProperties": true,
487
+ "$schema": "http://json-schema.org/draft-07/schema#"
488
+ },
489
+ "annotations": {
490
+ "readOnlyHint": true
491
+ },
492
+ "execution": {
493
+ "taskSupport": "forbidden"
494
+ }
495
+ },
496
+ {
497
+ "name": "list_network_requests",
498
+ "description": "List all requests for the currently selected page since the last navigation.",
499
+ "inputSchema": {
500
+ "type": "object",
501
+ "properties": {
502
+ "pageSize": {
503
+ "type": "integer",
504
+ "exclusiveMinimum": 0,
505
+ "description": "Maximum number of requests to return. When omitted, returns all requests."
506
+ },
507
+ "pageIdx": {
508
+ "type": "integer",
509
+ "minimum": 0,
510
+ "description": "Page number to return (0-based). When omitted, returns the first page."
511
+ },
512
+ "resourceTypes": {
513
+ "type": "array",
514
+ "items": {
515
+ "type": "string",
516
+ "enum": [
517
+ "document",
518
+ "stylesheet",
519
+ "image",
520
+ "media",
521
+ "font",
522
+ "script",
523
+ "texttrack",
524
+ "xhr",
525
+ "fetch",
526
+ "prefetch",
527
+ "eventsource",
528
+ "websocket",
529
+ "manifest",
530
+ "signedexchange",
531
+ "ping",
532
+ "cspviolationreport",
533
+ "preflight",
534
+ "fedcm",
535
+ "other"
536
+ ]
537
+ },
538
+ "description": "Filter requests to only return requests of the specified resource types. When omitted or empty, returns all requests."
539
+ },
540
+ "includePreservedRequests": {
541
+ "type": "boolean",
542
+ "default": false,
543
+ "description": "Set to true to return the preserved requests over the last 3 navigations."
544
+ }
545
+ },
546
+ "additionalProperties": true,
547
+ "$schema": "http://json-schema.org/draft-07/schema#"
548
+ },
549
+ "annotations": {
550
+ "readOnlyHint": true
551
+ },
552
+ "execution": {
553
+ "taskSupport": "forbidden"
554
+ }
555
+ },
556
+ {
557
+ "name": "list_pages",
558
+ "description": "Get a list of pages open in the browser.",
559
+ "inputSchema": {
560
+ "type": "object",
561
+ "properties": {},
562
+ "additionalProperties": true,
563
+ "$schema": "http://json-schema.org/draft-07/schema#"
564
+ },
565
+ "annotations": {
566
+ "readOnlyHint": true
567
+ },
568
+ "execution": {
569
+ "taskSupport": "forbidden"
570
+ }
571
+ },
572
+ {
573
+ "name": "navigate_page",
574
+ "description": "Go to a URL, or back, forward, or reload. Use project URL if not specified otherwise.",
575
+ "inputSchema": {
576
+ "type": "object",
577
+ "properties": {
578
+ "type": {
579
+ "type": "string",
580
+ "enum": [
581
+ "url",
582
+ "back",
583
+ "forward",
584
+ "reload"
585
+ ],
586
+ "description": "Navigate the page by URL, back or forward in history, or reload."
587
+ },
588
+ "url": {
589
+ "type": "string",
590
+ "description": "Target URL (only type=url)"
591
+ },
592
+ "ignoreCache": {
593
+ "type": "boolean",
594
+ "description": "Whether to ignore cache on reload."
595
+ },
596
+ "handleBeforeUnload": {
597
+ "type": "string",
598
+ "enum": [
599
+ "accept",
600
+ "decline"
601
+ ],
602
+ "description": "Whether to auto accept or beforeunload dialogs triggered by this navigation. Default is accept."
603
+ },
604
+ "initScript": {
605
+ "type": "string",
606
+ "description": "A JavaScript script to be executed on each new document before any other scripts for the next navigation."
607
+ },
608
+ "timeout": {
609
+ "type": "integer",
610
+ "description": "Maximum wait time in milliseconds. If set to 0, the default timeout will be used."
611
+ }
612
+ },
613
+ "additionalProperties": true,
614
+ "$schema": "http://json-schema.org/draft-07/schema#"
615
+ },
616
+ "annotations": {
617
+ "readOnlyHint": false
618
+ },
619
+ "execution": {
620
+ "taskSupport": "forbidden"
621
+ }
622
+ },
623
+ {
624
+ "name": "new_page",
625
+ "description": "Open a new tab and load a URL. Use project URL if not specified otherwise.",
626
+ "inputSchema": {
627
+ "type": "object",
628
+ "properties": {
629
+ "url": {
630
+ "type": "string",
631
+ "description": "URL to load in a new page."
632
+ },
633
+ "background": {
634
+ "type": "boolean",
635
+ "description": "Whether to open the page in the background without bringing it to the front. Default is false (foreground)."
636
+ },
637
+ "isolatedContext": {
638
+ "type": "string",
639
+ "description": "If specified, the page is created in an isolated browser context with the given name. Pages in the same browser context share cookies and storage. Pages in different browser contexts are fully isolated."
640
+ },
641
+ "timeout": {
642
+ "type": "integer",
643
+ "description": "Maximum wait time in milliseconds. If set to 0, the default timeout will be used."
644
+ }
645
+ },
646
+ "required": [
647
+ "url"
648
+ ],
649
+ "additionalProperties": true,
650
+ "$schema": "http://json-schema.org/draft-07/schema#"
651
+ },
652
+ "annotations": {
653
+ "readOnlyHint": false
654
+ },
655
+ "execution": {
656
+ "taskSupport": "forbidden"
657
+ }
658
+ },
659
+ {
660
+ "name": "performance_analyze_insight",
661
+ "description": "Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.",
662
+ "inputSchema": {
663
+ "type": "object",
664
+ "properties": {
665
+ "insightSetId": {
666
+ "type": "string",
667
+ "description": "The id for the specific insight set. Only use the ids given in the \"Available insight sets\" list."
668
+ },
669
+ "insightName": {
670
+ "type": "string",
671
+ "description": "The name of the Insight you want more information on. For example: \"DocumentLatency\" or \"LCPBreakdown\""
672
+ }
673
+ },
674
+ "required": [
675
+ "insightSetId",
676
+ "insightName"
677
+ ],
678
+ "additionalProperties": true,
679
+ "$schema": "http://json-schema.org/draft-07/schema#"
680
+ },
681
+ "annotations": {
682
+ "readOnlyHint": true
683
+ },
684
+ "execution": {
685
+ "taskSupport": "forbidden"
686
+ }
687
+ },
688
+ {
689
+ "name": "performance_start_trace",
690
+ "description": "Start a performance trace on the selected webpage. Use to find frontend performance issues, Core Web Vitals (LCP, INP, CLS), and improve page load speed.",
691
+ "inputSchema": {
692
+ "type": "object",
693
+ "properties": {
694
+ "reload": {
695
+ "type": "boolean",
696
+ "default": true,
697
+ "description": "Determines if, once tracing has started, the current selected page should be automatically reloaded. Navigate the page to the right URL using the navigate_page tool BEFORE starting the trace if reload or autoStop is set to true."
698
+ },
699
+ "autoStop": {
700
+ "type": "boolean",
701
+ "default": true,
702
+ "description": "Determines if the trace recording should be automatically stopped."
703
+ },
704
+ "filePath": {
705
+ "type": "string",
706
+ "description": "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)."
707
+ }
708
+ },
709
+ "additionalProperties": true,
710
+ "$schema": "http://json-schema.org/draft-07/schema#"
711
+ },
712
+ "annotations": {
713
+ "readOnlyHint": false
714
+ },
715
+ "execution": {
716
+ "taskSupport": "forbidden"
717
+ }
718
+ },
719
+ {
720
+ "name": "performance_stop_trace",
721
+ "description": "Stop the active performance trace recording on the selected webpage.",
722
+ "inputSchema": {
723
+ "type": "object",
724
+ "properties": {
725
+ "filePath": {
726
+ "type": "string",
727
+ "description": "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)."
728
+ }
729
+ },
730
+ "additionalProperties": true,
731
+ "$schema": "http://json-schema.org/draft-07/schema#"
732
+ },
733
+ "annotations": {
734
+ "readOnlyHint": false
735
+ },
736
+ "execution": {
737
+ "taskSupport": "forbidden"
738
+ }
739
+ },
740
+ {
741
+ "name": "press_key",
742
+ "description": "Press a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).",
743
+ "inputSchema": {
744
+ "type": "object",
745
+ "properties": {
746
+ "key": {
747
+ "type": "string",
748
+ "description": "A key or a combination (e.g., \"Enter\", \"Control+A\", \"Control++\", \"Control+Shift+R\"). Modifiers: Control, Shift, Alt, Meta"
749
+ },
750
+ "includeSnapshot": {
751
+ "type": "boolean",
752
+ "description": "Whether to include a snapshot in the response. Default is false."
753
+ }
754
+ },
755
+ "required": [
756
+ "key"
757
+ ],
758
+ "additionalProperties": true,
759
+ "$schema": "http://json-schema.org/draft-07/schema#"
760
+ },
761
+ "annotations": {
762
+ "readOnlyHint": false
763
+ },
764
+ "execution": {
765
+ "taskSupport": "forbidden"
766
+ }
767
+ },
768
+ {
769
+ "name": "resize_page",
770
+ "description": "Resizes the selected page's window so that the page has specified dimension",
771
+ "inputSchema": {
772
+ "type": "object",
773
+ "properties": {
774
+ "width": {
775
+ "type": "number",
776
+ "description": "Page width"
777
+ },
778
+ "height": {
779
+ "type": "number",
780
+ "description": "Page height"
781
+ }
782
+ },
783
+ "required": [
784
+ "width",
785
+ "height"
786
+ ],
787
+ "additionalProperties": true,
788
+ "$schema": "http://json-schema.org/draft-07/schema#"
789
+ },
790
+ "annotations": {
791
+ "readOnlyHint": false
792
+ },
793
+ "execution": {
794
+ "taskSupport": "forbidden"
795
+ }
796
+ },
797
+ {
798
+ "name": "select_page",
799
+ "description": "Select a page as a context for future tool calls.",
800
+ "inputSchema": {
801
+ "type": "object",
802
+ "properties": {
803
+ "pageId": {
804
+ "type": "number",
805
+ "description": "The ID of the page to select. Call list_pages to get available pages."
806
+ },
807
+ "bringToFront": {
808
+ "type": "boolean",
809
+ "description": "Whether to focus the page and bring it to the top."
810
+ }
811
+ },
812
+ "required": [
813
+ "pageId"
814
+ ],
815
+ "additionalProperties": true,
816
+ "$schema": "http://json-schema.org/draft-07/schema#"
817
+ },
818
+ "annotations": {
819
+ "readOnlyHint": true
820
+ },
821
+ "execution": {
822
+ "taskSupport": "forbidden"
823
+ }
824
+ },
825
+ {
826
+ "name": "take_heapsnapshot",
827
+ "description": "Capture a heap snapshot of the currently selected page. Use to analyze the memory distribution of JavaScript objects and debug memory leaks.",
828
+ "inputSchema": {
829
+ "type": "object",
830
+ "properties": {
831
+ "filePath": {
832
+ "type": "string",
833
+ "description": "A path to a .heapsnapshot file to save the heapsnapshot to."
834
+ }
835
+ },
836
+ "required": [
837
+ "filePath"
838
+ ],
839
+ "additionalProperties": true,
840
+ "$schema": "http://json-schema.org/draft-07/schema#"
841
+ },
842
+ "annotations": {
843
+ "readOnlyHint": false
844
+ },
845
+ "execution": {
846
+ "taskSupport": "forbidden"
847
+ }
848
+ },
849
+ {
850
+ "name": "take_screenshot",
851
+ "description": "Take a screenshot of the page or element.",
852
+ "inputSchema": {
853
+ "type": "object",
854
+ "properties": {
855
+ "format": {
856
+ "type": "string",
857
+ "enum": [
858
+ "png",
859
+ "jpeg",
860
+ "webp"
861
+ ],
862
+ "default": "png",
863
+ "description": "Type of format to save the screenshot as. Default is \"png\""
864
+ },
865
+ "quality": {
866
+ "type": "number",
867
+ "minimum": 0,
868
+ "maximum": 100,
869
+ "description": "Compression quality for JPEG and WebP formats (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format."
870
+ },
871
+ "uid": {
872
+ "type": "string",
873
+ "description": "The uid of an element on the page from the page content snapshot. If omitted, takes a page screenshot."
874
+ },
875
+ "fullPage": {
876
+ "type": "boolean",
877
+ "description": "If set to true takes a screenshot of the full page instead of the currently visible viewport. Incompatible with uid."
878
+ },
879
+ "filePath": {
880
+ "type": "string",
881
+ "description": "The absolute path, or a path relative to the current working directory, to save the screenshot to instead of attaching it to the response."
882
+ }
883
+ },
884
+ "additionalProperties": true,
885
+ "$schema": "http://json-schema.org/draft-07/schema#"
886
+ },
887
+ "annotations": {
888
+ "readOnlyHint": false
889
+ },
890
+ "execution": {
891
+ "taskSupport": "forbidden"
892
+ }
893
+ },
894
+ {
895
+ "name": "take_snapshot",
896
+ "description": "Take a text snapshot of the currently selected page based on the a11y tree. The snapshot lists page elements along with a unique\nidentifier (uid). Always use the latest snapshot. Prefer taking a snapshot over taking a screenshot. The snapshot indicates the element selected\nin the DevTools Elements panel (if any).",
897
+ "inputSchema": {
898
+ "type": "object",
899
+ "properties": {
900
+ "verbose": {
901
+ "type": "boolean",
902
+ "description": "Whether to include all possible information available in the full a11y tree. Default is false."
903
+ },
904
+ "filePath": {
905
+ "type": "string",
906
+ "description": "The absolute path, or a path relative to the current working directory, to save the snapshot to instead of attaching it to the response."
907
+ }
908
+ },
909
+ "additionalProperties": true,
910
+ "$schema": "http://json-schema.org/draft-07/schema#"
911
+ },
912
+ "annotations": {
913
+ "readOnlyHint": false
914
+ },
915
+ "execution": {
916
+ "taskSupport": "forbidden"
917
+ }
918
+ },
919
+ {
920
+ "name": "type_text",
921
+ "description": "Type text using keyboard into a previously focused input",
922
+ "inputSchema": {
923
+ "type": "object",
924
+ "properties": {
925
+ "text": {
926
+ "type": "string",
927
+ "description": "The text to type"
928
+ },
929
+ "submitKey": {
930
+ "type": "string",
931
+ "description": "Optional key to press after typing. E.g., \"Enter\", \"Tab\", \"Escape\""
932
+ }
933
+ },
934
+ "required": [
935
+ "text"
936
+ ],
937
+ "additionalProperties": true,
938
+ "$schema": "http://json-schema.org/draft-07/schema#"
939
+ },
940
+ "annotations": {
941
+ "readOnlyHint": false
942
+ },
943
+ "execution": {
944
+ "taskSupport": "forbidden"
945
+ }
946
+ },
947
+ {
948
+ "name": "upload_file",
949
+ "description": "Upload a file through a provided element.",
950
+ "inputSchema": {
951
+ "type": "object",
952
+ "properties": {
953
+ "uid": {
954
+ "type": "string",
955
+ "description": "The uid of the file input element or an element that will open file chooser on the page from the page content snapshot"
956
+ },
957
+ "filePath": {
958
+ "type": "string",
959
+ "description": "The local path of the file to upload"
960
+ },
961
+ "includeSnapshot": {
962
+ "type": "boolean",
963
+ "description": "Whether to include a snapshot in the response. Default is false."
964
+ }
965
+ },
966
+ "required": [
967
+ "uid",
968
+ "filePath"
969
+ ],
970
+ "additionalProperties": true,
971
+ "$schema": "http://json-schema.org/draft-07/schema#"
972
+ },
973
+ "annotations": {
974
+ "readOnlyHint": false
975
+ },
976
+ "execution": {
977
+ "taskSupport": "forbidden"
978
+ }
979
+ },
980
+ {
981
+ "name": "wait_for",
982
+ "description": "Wait for the specified text to appear on the selected page.",
983
+ "inputSchema": {
984
+ "type": "object",
985
+ "properties": {
986
+ "text": {
987
+ "type": "array",
988
+ "items": {
989
+ "type": "string"
990
+ },
991
+ "minItems": 1,
992
+ "description": "Non-empty list of texts. Resolves when any value appears on the page."
993
+ },
994
+ "timeout": {
995
+ "type": "integer",
996
+ "description": "Maximum wait time in milliseconds. If set to 0, the default timeout will be used."
997
+ }
998
+ },
999
+ "required": [
1000
+ "text"
1001
+ ],
1002
+ "additionalProperties": true,
1003
+ "$schema": "http://json-schema.org/draft-07/schema#"
1004
+ },
1005
+ "annotations": {
1006
+ "readOnlyHint": true
1007
+ },
1008
+ "execution": {
1009
+ "taskSupport": "forbidden"
1010
+ }
1011
+ }
1012
+ ]
1013
+ }