@mcp-b/chrome-devtools-mcp 2.2.0 → 2.3.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.
Files changed (234) hide show
  1. package/README.md +1 -4
  2. package/build/src/DevToolsConnectionAdapter.js +5 -4
  3. package/build/src/DevtoolsUtils.js +8 -12
  4. package/build/src/McpContext.js +34 -39
  5. package/build/src/McpResponse.js +19 -45
  6. package/build/src/PageCollector.js +10 -11
  7. package/build/src/WaitForHelper.js +7 -11
  8. package/build/src/bin/chrome-devtools-cli-options.js +616 -665
  9. package/build/src/bin/chrome-devtools-mcp-cli-options.js +5 -5
  10. package/build/src/bin/chrome-devtools.js +2 -24
  11. package/build/src/bin/cliDefinitions.js +615 -0
  12. package/build/src/browser.js +5 -10
  13. package/build/src/daemon/client.js +10 -34
  14. package/build/src/formatters/{consoleFormatter.js → ConsoleFormatter.js} +10 -17
  15. package/build/src/formatters/{networkFormatter.js → NetworkFormatter.js} +3 -6
  16. package/build/src/formatters/{snapshotFormatter.js → SnapshotFormatter.js} +3 -6
  17. package/build/src/index.js +6 -16
  18. package/build/src/tools/ToolDefinition.js +1 -1
  19. package/build/src/tools/emulation.js +1 -1
  20. package/build/src/tools/input.js +5 -11
  21. package/build/src/tools/pages.js +7 -19
  22. package/build/src/tools/performance.js +3 -3
  23. package/build/src/tools/script.js +4 -6
  24. package/build/src/tools/tools.js +0 -1
  25. package/build/src/version.js +1 -1
  26. package/package.json +9 -9
  27. package/build/src/third_party/issue-descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +0 -4
  28. package/build/src/third_party/issue-descriptions/CoepCorpNotSameOrigin.md +0 -8
  29. package/build/src/third_party/issue-descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +0 -18
  30. package/build/src/third_party/issue-descriptions/CoepCorpNotSameSite.md +0 -7
  31. package/build/src/third_party/issue-descriptions/CoepFrameResourceNeedsCoepHeader.md +0 -10
  32. package/build/src/third_party/issue-descriptions/CompatibilityModeQuirks.md +0 -5
  33. package/build/src/third_party/issue-descriptions/CookieAttributeValueExceedsMaxSize.md +0 -5
  34. package/build/src/third_party/issue-descriptions/LowTextContrast.md +0 -5
  35. package/build/src/third_party/issue-descriptions/SameSiteExcludeContextDowngradeRead.md +0 -8
  36. package/build/src/third_party/issue-descriptions/SameSiteExcludeContextDowngradeSet.md +0 -8
  37. package/build/src/third_party/issue-descriptions/SameSiteExcludeNavigationContextDowngrade.md +0 -8
  38. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureErrorRead.md +0 -8
  39. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureErrorSet.md +0 -8
  40. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureWarnRead.md +0 -8
  41. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureWarnSet.md +0 -8
  42. package/build/src/third_party/issue-descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +0 -9
  43. package/build/src/third_party/issue-descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +0 -9
  44. package/build/src/third_party/issue-descriptions/SameSiteWarnCrossDowngradeRead.md +0 -8
  45. package/build/src/third_party/issue-descriptions/SameSiteWarnCrossDowngradeSet.md +0 -8
  46. package/build/src/third_party/issue-descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +0 -8
  47. package/build/src/third_party/issue-descriptions/arInsecureContext.md +0 -7
  48. package/build/src/third_party/issue-descriptions/arInvalidInfoHeader.md +0 -5
  49. package/build/src/third_party/issue-descriptions/arInvalidRegisterOsSourceHeader.md +0 -5
  50. package/build/src/third_party/issue-descriptions/arInvalidRegisterOsTriggerHeader.md +0 -5
  51. package/build/src/third_party/issue-descriptions/arInvalidRegisterSourceHeader.md +0 -5
  52. package/build/src/third_party/issue-descriptions/arInvalidRegisterTriggerHeader.md +0 -5
  53. package/build/src/third_party/issue-descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +0 -5
  54. package/build/src/third_party/issue-descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +0 -6
  55. package/build/src/third_party/issue-descriptions/arNoRegisterOsSourceHeader.md +0 -5
  56. package/build/src/third_party/issue-descriptions/arNoRegisterOsTriggerHeader.md +0 -5
  57. package/build/src/third_party/issue-descriptions/arNoRegisterSourceHeader.md +0 -5
  58. package/build/src/third_party/issue-descriptions/arNoRegisterTriggerHeader.md +0 -5
  59. package/build/src/third_party/issue-descriptions/arNoWebOrOsSupport.md +0 -4
  60. package/build/src/third_party/issue-descriptions/arOsSourceIgnored.md +0 -18
  61. package/build/src/third_party/issue-descriptions/arOsTriggerIgnored.md +0 -19
  62. package/build/src/third_party/issue-descriptions/arPermissionPolicyDisabled.md +0 -8
  63. package/build/src/third_party/issue-descriptions/arSourceAndTriggerHeaders.md +0 -9
  64. package/build/src/third_party/issue-descriptions/arSourceIgnored.md +0 -13
  65. package/build/src/third_party/issue-descriptions/arTriggerIgnored.md +0 -12
  66. package/build/src/third_party/issue-descriptions/arUntrustworthyReportingOrigin.md +0 -10
  67. package/build/src/third_party/issue-descriptions/arWebAndOsHeaders.md +0 -11
  68. package/build/src/third_party/issue-descriptions/bounceTrackingMitigations.md +0 -3
  69. package/build/src/third_party/issue-descriptions/clientHintMetaTagAllowListInvalidOrigin.md +0 -4
  70. package/build/src/third_party/issue-descriptions/clientHintMetaTagModifiedHTML.md +0 -4
  71. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidAllowlistItemType.md +0 -12
  72. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidHeader.md +0 -12
  73. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidUrlPattern.md +0 -8
  74. package/build/src/third_party/issue-descriptions/connectionAllowlistItemNotInnerList.md +0 -12
  75. package/build/src/third_party/issue-descriptions/connectionAllowlistMoreThanOneList.md +0 -7
  76. package/build/src/third_party/issue-descriptions/connectionAllowlistReportingEndpointNotToken.md +0 -10
  77. package/build/src/third_party/issue-descriptions/cookieCrossSiteRedirectDowngrade.md +0 -12
  78. package/build/src/third_party/issue-descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +0 -4
  79. package/build/src/third_party/issue-descriptions/cookieExcludeDomainNonAscii.md +0 -11
  80. package/build/src/third_party/issue-descriptions/cookieExcludePortMismatch.md +0 -8
  81. package/build/src/third_party/issue-descriptions/cookieExcludeSchemeMismatch.md +0 -7
  82. package/build/src/third_party/issue-descriptions/cookieExcludeThirdPartyPhaseoutRead.md +0 -6
  83. package/build/src/third_party/issue-descriptions/cookieExcludeThirdPartyPhaseoutSet.md +0 -6
  84. package/build/src/third_party/issue-descriptions/cookieWarnDomainNonAscii.md +0 -11
  85. package/build/src/third_party/issue-descriptions/cookieWarnMetadataGrantRead.md +0 -4
  86. package/build/src/third_party/issue-descriptions/cookieWarnMetadataGrantSet.md +0 -4
  87. package/build/src/third_party/issue-descriptions/cookieWarnThirdPartyPhaseoutRead.md +0 -6
  88. package/build/src/third_party/issue-descriptions/cookieWarnThirdPartyPhaseoutSet.md +0 -6
  89. package/build/src/third_party/issue-descriptions/corsAllowCredentialsRequired.md +0 -6
  90. package/build/src/third_party/issue-descriptions/corsDisabledScheme.md +0 -7
  91. package/build/src/third_party/issue-descriptions/corsDisallowedByMode.md +0 -7
  92. package/build/src/third_party/issue-descriptions/corsHeaderDisallowedByPreflightResponse.md +0 -5
  93. package/build/src/third_party/issue-descriptions/corsInvalidHeaderValues.md +0 -7
  94. package/build/src/third_party/issue-descriptions/corsLocalNetworkAccessPermissionDenied.md +0 -19
  95. package/build/src/third_party/issue-descriptions/corsMethodDisallowedByPreflightResponse.md +0 -5
  96. package/build/src/third_party/issue-descriptions/corsNoCorsRedirectModeNotFollow.md +0 -5
  97. package/build/src/third_party/issue-descriptions/corsOriginMismatch.md +0 -6
  98. package/build/src/third_party/issue-descriptions/corsPreflightResponseInvalid.md +0 -5
  99. package/build/src/third_party/issue-descriptions/corsRedirectContainsCredentials.md +0 -5
  100. package/build/src/third_party/issue-descriptions/corsWildcardOriginNotAllowed.md +0 -8
  101. package/build/src/third_party/issue-descriptions/cspEvalViolation.md +0 -9
  102. package/build/src/third_party/issue-descriptions/cspInlineViolation.md +0 -10
  103. package/build/src/third_party/issue-descriptions/cspTrustedTypesPolicyViolation.md +0 -5
  104. package/build/src/third_party/issue-descriptions/cspTrustedTypesSinkViolation.md +0 -8
  105. package/build/src/third_party/issue-descriptions/cspURLViolation.md +0 -10
  106. package/build/src/third_party/issue-descriptions/deprecation.md +0 -3
  107. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsHttpNotFound.md +0 -1
  108. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsInvalidResponse.md +0 -1
  109. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsNoResponse.md +0 -1
  110. package/build/src/third_party/issue-descriptions/federatedAuthRequestApprovalDeclined.md +0 -1
  111. package/build/src/third_party/issue-descriptions/federatedAuthRequestCanceled.md +0 -1
  112. package/build/src/third_party/issue-descriptions/federatedAuthRequestErrorFetchingSignin.md +0 -1
  113. package/build/src/third_party/issue-descriptions/federatedAuthRequestErrorIdToken.md +0 -1
  114. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenHttpNotFound.md +0 -1
  115. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenInvalidRequest.md +0 -1
  116. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenInvalidResponse.md +0 -1
  117. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenNoResponse.md +0 -1
  118. package/build/src/third_party/issue-descriptions/federatedAuthRequestInvalidSigninResponse.md +0 -1
  119. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestHttpNotFound.md +0 -1
  120. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestInvalidResponse.md +0 -1
  121. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestNoResponse.md +0 -1
  122. package/build/src/third_party/issue-descriptions/federatedAuthRequestTooManyRequests.md +0 -1
  123. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +0 -1
  124. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +0 -1
  125. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +0 -1
  126. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoApiPermission.md +0 -1
  127. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +0 -1
  128. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotIframe.md +0 -1
  129. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +0 -1
  130. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +0 -1
  131. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +0 -1
  132. package/build/src/third_party/issue-descriptions/fetchingPartitionedBlobURL.md +0 -7
  133. package/build/src/third_party/issue-descriptions/genericFormAriaLabelledByToNonExistingIdError.md +0 -8
  134. package/build/src/third_party/issue-descriptions/genericFormAutocompleteAttributeEmptyError.md +0 -5
  135. package/build/src/third_party/issue-descriptions/genericFormDuplicateIdForInputError.md +0 -5
  136. package/build/src/third_party/issue-descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +0 -5
  137. package/build/src/third_party/issue-descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +0 -5
  138. package/build/src/third_party/issue-descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +0 -5
  139. package/build/src/third_party/issue-descriptions/genericFormInputWithNoLabelError.md +0 -5
  140. package/build/src/third_party/issue-descriptions/genericFormLabelForMatchesNonExistingIdError.md +0 -5
  141. package/build/src/third_party/issue-descriptions/genericFormLabelForNameError.md +0 -5
  142. package/build/src/third_party/issue-descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +0 -5
  143. package/build/src/third_party/issue-descriptions/genericNavigationEntryMarkedSkippable.md +0 -7
  144. package/build/src/third_party/issue-descriptions/genericResponseWasBlockedByORB.md +0 -4
  145. package/build/src/third_party/issue-descriptions/heavyAd.md +0 -10
  146. package/build/src/third_party/issue-descriptions/mixedContent.md +0 -5
  147. package/build/src/third_party/issue-descriptions/navigatingPartitionedBlobURL.md +0 -5
  148. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabled.md +0 -7
  149. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabledWithOccluder.md +0 -9
  150. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabledWithOccluderParent.md +0 -9
  151. package/build/src/third_party/issue-descriptions/permissionElementCspFrameAncestorsMissing.md +0 -5
  152. package/build/src/third_party/issue-descriptions/permissionElementFencedFrameDisallowed.md +0 -5
  153. package/build/src/third_party/issue-descriptions/permissionElementFontSizeTooLarge.md +0 -5
  154. package/build/src/third_party/issue-descriptions/permissionElementFontSizeTooSmall.md +0 -5
  155. package/build/src/third_party/issue-descriptions/permissionElementGeolocationDeprecated.md +0 -5
  156. package/build/src/third_party/issue-descriptions/permissionElementInsetBoxShadowUnsupported.md +0 -5
  157. package/build/src/third_party/issue-descriptions/permissionElementInvalidDisplayStyle.md +0 -5
  158. package/build/src/third_party/issue-descriptions/permissionElementInvalidSizeValue.md +0 -5
  159. package/build/src/third_party/issue-descriptions/permissionElementInvalidType.md +0 -5
  160. package/build/src/third_party/issue-descriptions/permissionElementInvalidTypeActivation.md +0 -5
  161. package/build/src/third_party/issue-descriptions/permissionElementLowContrast.md +0 -5
  162. package/build/src/third_party/issue-descriptions/permissionElementNonOpaqueColor.md +0 -5
  163. package/build/src/third_party/issue-descriptions/permissionElementPaddingBottomUnsupported.md +0 -6
  164. package/build/src/third_party/issue-descriptions/permissionElementPaddingRightUnsupported.md +0 -6
  165. package/build/src/third_party/issue-descriptions/permissionElementPermissionsPolicyBlocked.md +0 -5
  166. package/build/src/third_party/issue-descriptions/permissionElementRegistrationFailed.md +0 -5
  167. package/build/src/third_party/issue-descriptions/permissionElementRequestInProgress.md +0 -5
  168. package/build/src/third_party/issue-descriptions/permissionElementSecurityChecksFailed.md +0 -5
  169. package/build/src/third_party/issue-descriptions/permissionElementTypeNotSupported.md +0 -5
  170. package/build/src/third_party/issue-descriptions/permissionElementUntrustedEvent.md +0 -7
  171. package/build/src/third_party/issue-descriptions/placeholderDescriptionForInvisibleIssues.md +0 -3
  172. package/build/src/third_party/issue-descriptions/propertyRuleInvalidNameIssue.md +0 -3
  173. package/build/src/third_party/issue-descriptions/propertyRuleIssue.md +0 -7
  174. package/build/src/third_party/issue-descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +0 -7
  175. package/build/src/third_party/issue-descriptions/selectElementAccessibilityDisallowedSelectChild.md +0 -7
  176. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +0 -3
  177. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +0 -3
  178. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +0 -3
  179. package/build/src/third_party/issue-descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +0 -3
  180. package/build/src/third_party/issue-descriptions/selectivePermissionsIntervention.md +0 -7
  181. package/build/src/third_party/issue-descriptions/sharedArrayBuffer.md +0 -7
  182. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +0 -1
  183. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +0 -3
  184. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +0 -3
  185. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +0 -1
  186. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +0 -1
  187. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +0 -1
  188. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorExpiredResponse.md +0 -3
  189. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +0 -3
  190. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorInsufficientResources.md +0 -1
  191. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +0 -1
  192. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +0 -1
  193. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +0 -1
  194. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNavigationRequest.md +0 -3
  195. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNoMatchField.md +0 -1
  196. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +0 -1
  197. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +0 -1
  198. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonSecureContext.md +0 -3
  199. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonStringIdField.md +0 -1
  200. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +0 -1
  201. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +0 -1
  202. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +0 -1
  203. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorRequestAborted.md +0 -1
  204. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorShuttingDown.md +0 -1
  205. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorTooLongIdField.md +0 -3
  206. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorUnsupportedType.md +0 -3
  207. package/build/src/third_party/issue-descriptions/sriInvalidSignatureHeader.md +0 -14
  208. package/build/src/third_party/issue-descriptions/sriInvalidSignatureInputHeader.md +0 -15
  209. package/build/src/third_party/issue-descriptions/sriMissingSignatureHeader.md +0 -8
  210. package/build/src/third_party/issue-descriptions/sriMissingSignatureInputHeader.md +0 -7
  211. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsIncorrectLength.md +0 -11
  212. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsNotByteSequence.md +0 -14
  213. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsParameterized.md +0 -15
  214. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidComponentName.md +0 -8
  215. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidComponentType.md +0 -13
  216. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +0 -4
  217. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +0 -5
  218. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidParameter.md +0 -11
  219. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderKeyIdLength.md +0 -12
  220. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderMissingLabel.md +0 -6
  221. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +0 -8
  222. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderValueMissingComponents.md +0 -11
  223. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderValueNotInnerList.md +0 -11
  224. package/build/src/third_party/issue-descriptions/sriValidationFailedIntegrityMismatch.md +0 -10
  225. package/build/src/third_party/issue-descriptions/sriValidationFailedInvalidLength.md +0 -5
  226. package/build/src/third_party/issue-descriptions/sriValidationFailedSignatureExpired.md +0 -6
  227. package/build/src/third_party/issue-descriptions/sriValidationFailedSignatureMismatch.md +0 -11
  228. package/build/src/third_party/issue-descriptions/stylesheetLateImport.md +0 -4
  229. package/build/src/third_party/issue-descriptions/stylesheetRequestFailed.md +0 -3
  230. package/build/src/third_party/issue-descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +0 -3
  231. package/build/src/third_party/issue-descriptions/unencodedDigestIncorrectDigestLength.md +0 -12
  232. package/build/src/third_party/issue-descriptions/unencodedDigestIncorrectDigestType.md +0 -17
  233. package/build/src/third_party/issue-descriptions/unencodedDigestMalformedDictionary.md +0 -14
  234. package/build/src/third_party/issue-descriptions/unencodedDigestUnknownAlgorithm.md +0 -15
@@ -4,697 +4,648 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  export const commands = {
7
- "call_webmcp_tool": {
8
- "description": "Call a WebMCP tool exposed by the selected page or a specific pageId.",
9
- "category": "Debugging",
10
- "args": {
11
- "name": {
12
- "name": "name",
13
- "type": "string",
14
- "description": "The WebMCP tool name to invoke.",
15
- "required": true
16
- },
17
- "arguments": {
18
- "name": "arguments",
19
- "type": "object",
20
- "description": "Tool arguments. Defaults to an empty object.",
21
- "required": false
22
- },
23
- "pageId": {
24
- "name": "pageId",
25
- "type": "number",
26
- "description": "Targets a specific page by ID. Defaults to the selected page.",
27
- "required": false
28
- }
29
- }
7
+ click: {
8
+ description: 'Clicks on the provided element',
9
+ category: 'Input automation',
10
+ args: {
11
+ uid: {
12
+ name: 'uid',
13
+ type: 'string',
14
+ description: 'The uid of an element on the page from the page content snapshot',
15
+ required: true,
16
+ },
17
+ dblClick: {
18
+ name: 'dblClick',
19
+ type: 'boolean',
20
+ description: 'Set to true for double clicks. Default is false.',
21
+ required: false,
22
+ },
23
+ includeSnapshot: {
24
+ name: 'includeSnapshot',
25
+ type: 'boolean',
26
+ description: 'Whether to include a snapshot in the response. Default is false.',
27
+ required: false,
28
+ },
29
+ },
30
30
  },
31
- "click": {
32
- "description": "Clicks on the provided element",
33
- "category": "Input automation",
34
- "args": {
35
- "uid": {
36
- "name": "uid",
37
- "type": "string",
38
- "description": "The uid of an element on the page from the page content snapshot",
39
- "required": true
40
- },
41
- "dblClick": {
42
- "name": "dblClick",
43
- "type": "boolean",
44
- "description": "Set to true for double clicks. Default is false.",
45
- "required": false
46
- },
47
- "includeSnapshot": {
48
- "name": "includeSnapshot",
49
- "type": "boolean",
50
- "description": "Whether to include a snapshot in the response. Default is false.",
51
- "required": false
52
- }
53
- }
31
+ close_page: {
32
+ description: 'Closes the page by its index. The last open page cannot be closed.',
33
+ category: 'Navigation automation',
34
+ args: {
35
+ pageId: {
36
+ name: 'pageId',
37
+ type: 'number',
38
+ description: 'The ID of the page to close. Call list_pages to list pages.',
39
+ required: true,
40
+ },
41
+ },
54
42
  },
55
- "close_page": {
56
- "description": "Closes the page by its index. The last open page cannot be closed.",
57
- "category": "Navigation automation",
58
- "args": {
59
- "pageId": {
60
- "name": "pageId",
61
- "type": "number",
62
- "description": "The ID of the page to close. Call list_pages to list pages.",
63
- "required": true
64
- }
65
- }
43
+ drag: {
44
+ description: 'Drag an element onto another element',
45
+ category: 'Input automation',
46
+ args: {
47
+ from_uid: {
48
+ name: 'from_uid',
49
+ type: 'string',
50
+ description: 'The uid of the element to drag',
51
+ required: true,
52
+ },
53
+ to_uid: {
54
+ name: 'to_uid',
55
+ type: 'string',
56
+ description: 'The uid of the element to drop into',
57
+ required: true,
58
+ },
59
+ includeSnapshot: {
60
+ name: 'includeSnapshot',
61
+ type: 'boolean',
62
+ description: 'Whether to include a snapshot in the response. Default is false.',
63
+ required: false,
64
+ },
65
+ },
66
66
  },
67
- "drag": {
68
- "description": "Drag an element onto another element",
69
- "category": "Input automation",
70
- "args": {
71
- "from_uid": {
72
- "name": "from_uid",
73
- "type": "string",
74
- "description": "The uid of the element to drag",
75
- "required": true
76
- },
77
- "to_uid": {
78
- "name": "to_uid",
79
- "type": "string",
80
- "description": "The uid of the element to drop into",
81
- "required": true
82
- },
83
- "includeSnapshot": {
84
- "name": "includeSnapshot",
85
- "type": "boolean",
86
- "description": "Whether to include a snapshot in the response. Default is false.",
87
- "required": false
88
- }
89
- }
67
+ emulate: {
68
+ description: 'Emulates various features on the selected page.',
69
+ category: 'Emulation',
70
+ args: {
71
+ networkConditions: {
72
+ name: 'networkConditions',
73
+ type: 'string',
74
+ description: 'Throttle network. Omit to disable throttling.',
75
+ required: false,
76
+ enum: ['Offline', 'Slow 3G', 'Fast 3G', 'Slow 4G', 'Fast 4G'],
77
+ },
78
+ cpuThrottlingRate: {
79
+ name: 'cpuThrottlingRate',
80
+ type: 'number',
81
+ description: 'Represents the CPU slowdown factor. Omit or set the rate to 1 to disable throttling',
82
+ required: false,
83
+ },
84
+ geolocation: {
85
+ name: 'geolocation',
86
+ type: 'string',
87
+ description: 'Geolocation (`<latitude>x<longitude>`) to emulate. Latitude between -90 and 90. Longitude between -180 and 180. Omit clear the geolocation override.',
88
+ required: false,
89
+ },
90
+ userAgent: {
91
+ name: 'userAgent',
92
+ type: 'string',
93
+ description: 'User agent to emulate. Set to empty string to clear the user agent override.',
94
+ required: false,
95
+ },
96
+ colorScheme: {
97
+ name: 'colorScheme',
98
+ type: 'string',
99
+ description: 'Emulate the dark or the light mode. Set to "auto" to reset to the default.',
100
+ required: false,
101
+ enum: ['dark', 'light', 'auto'],
102
+ },
103
+ viewport: {
104
+ name: 'viewport',
105
+ type: 'string',
106
+ description: "Emulate device viewports '<width>x<height>x<devicePixelRatio>[,mobile][,touch][,landscape]'. 'touch' and 'mobile' to emulate mobile devices. 'landscape' to emulate landscape mode.",
107
+ required: false,
108
+ },
109
+ },
90
110
  },
91
- "emulate": {
92
- "description": "Emulates various features on the selected page.",
93
- "category": "Emulation",
94
- "args": {
95
- "networkConditions": {
96
- "name": "networkConditions",
97
- "type": "string",
98
- "description": "Throttle network. Omit to disable throttling.",
99
- "required": false,
100
- "enum": [
101
- "Offline",
102
- "Slow 3G",
103
- "Fast 3G",
104
- "Slow 4G",
105
- "Fast 4G"
106
- ]
107
- },
108
- "cpuThrottlingRate": {
109
- "name": "cpuThrottlingRate",
110
- "type": "number",
111
- "description": "Represents the CPU slowdown factor. Omit or set the rate to 1 to disable throttling",
112
- "required": false
113
- },
114
- "geolocation": {
115
- "name": "geolocation",
116
- "type": "string",
117
- "description": "Geolocation (`<latitude>x<longitude>`) to emulate. Latitude between -90 and 90. Longitude between -180 and 180. Omit clear the geolocation override.",
118
- "required": false
119
- },
120
- "userAgent": {
121
- "name": "userAgent",
122
- "type": "string",
123
- "description": "User agent to emulate. Set to empty string to clear the user agent override.",
124
- "required": false
125
- },
126
- "colorScheme": {
127
- "name": "colorScheme",
128
- "type": "string",
129
- "description": "Emulate the dark or the light mode. Set to \"auto\" to reset to the default.",
130
- "required": false,
131
- "enum": [
132
- "dark",
133
- "light",
134
- "auto"
135
- ]
136
- },
137
- "viewport": {
138
- "name": "viewport",
139
- "type": "string",
140
- "description": "Emulate device viewports '<width>x<height>x<devicePixelRatio>[,mobile][,touch][,landscape]'. 'touch' and 'mobile' to emulate mobile devices. 'landscape' to emulate landscape mode.",
141
- "required": false
142
- }
143
- }
111
+ evaluate_script: {
112
+ description: 'Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON,\nso returned values have to be JSON-serializable.',
113
+ category: 'Debugging',
114
+ args: {
115
+ function: {
116
+ name: 'function',
117
+ type: 'string',
118
+ 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',
119
+ required: true,
120
+ },
121
+ args: {
122
+ name: 'args',
123
+ type: 'array',
124
+ description: 'An optional list of arguments to pass to the function.',
125
+ required: false,
126
+ },
127
+ },
144
128
  },
145
- "evaluate_script": {
146
- "description": "Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON,\nso returned values have to be JSON-serializable.",
147
- "category": "Debugging",
148
- "args": {
149
- "function": {
150
- "name": "function",
151
- "type": "string",
152
- "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",
153
- "required": true
154
- },
155
- "args": {
156
- "name": "args",
157
- "type": "array",
158
- "description": "An optional list of arguments to pass to the function.",
159
- "required": false
160
- }
161
- }
129
+ fill: {
130
+ description: 'Type text into a input, text area or select an option from a <select> element.',
131
+ category: 'Input automation',
132
+ args: {
133
+ uid: {
134
+ name: 'uid',
135
+ type: 'string',
136
+ description: 'The uid of an element on the page from the page content snapshot',
137
+ required: true,
138
+ },
139
+ value: {
140
+ name: 'value',
141
+ type: 'string',
142
+ description: 'The value to fill in',
143
+ required: true,
144
+ },
145
+ includeSnapshot: {
146
+ name: 'includeSnapshot',
147
+ type: 'boolean',
148
+ description: 'Whether to include a snapshot in the response. Default is false.',
149
+ required: false,
150
+ },
151
+ },
162
152
  },
163
- "fill": {
164
- "description": "Type text into a input, text area or select an option from a <select> element.",
165
- "category": "Input automation",
166
- "args": {
167
- "uid": {
168
- "name": "uid",
169
- "type": "string",
170
- "description": "The uid of an element on the page from the page content snapshot",
171
- "required": true
172
- },
173
- "value": {
174
- "name": "value",
175
- "type": "string",
176
- "description": "The value to fill in",
177
- "required": true
178
- },
179
- "includeSnapshot": {
180
- "name": "includeSnapshot",
181
- "type": "boolean",
182
- "description": "Whether to include a snapshot in the response. Default is false.",
183
- "required": false
184
- }
185
- }
153
+ fill_form: {
154
+ description: 'Fill out multiple form elements at once',
155
+ category: 'Input automation',
156
+ args: {
157
+ elements: {
158
+ name: 'elements',
159
+ type: 'array',
160
+ description: 'Elements from snapshot to fill out.',
161
+ required: true,
162
+ },
163
+ includeSnapshot: {
164
+ name: 'includeSnapshot',
165
+ type: 'boolean',
166
+ description: 'Whether to include a snapshot in the response. Default is false.',
167
+ required: false,
168
+ },
169
+ },
186
170
  },
187
- "get_console_message": {
188
- "description": "Gets a console message by its ID. You can get all messages by calling list_console_messages.",
189
- "category": "Debugging",
190
- "args": {
191
- "msgid": {
192
- "name": "msgid",
193
- "type": "number",
194
- "description": "The msgid of a console message on the page from the listed console messages",
195
- "required": true
196
- }
197
- }
171
+ get_console_message: {
172
+ description: 'Gets a console message by its ID. You can get all messages by calling list_console_messages.',
173
+ category: 'Debugging',
174
+ args: {
175
+ msgid: {
176
+ name: 'msgid',
177
+ type: 'number',
178
+ description: 'The msgid of a console message on the page from the listed console messages',
179
+ required: true,
180
+ },
181
+ },
198
182
  },
199
- "get_network_request": {
200
- "description": "Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.",
201
- "category": "Network",
202
- "args": {
203
- "reqid": {
204
- "name": "reqid",
205
- "type": "number",
206
- "description": "The reqid of the network request. If omitted returns the currently selected request in the DevTools Network panel.",
207
- "required": false
208
- },
209
- "requestFilePath": {
210
- "name": "requestFilePath",
211
- "type": "string",
212
- "description": "The absolute or relative path to save the request body to. If omitted, the body is returned inline.",
213
- "required": false
214
- },
215
- "responseFilePath": {
216
- "name": "responseFilePath",
217
- "type": "string",
218
- "description": "The absolute or relative path to save the response body to. If omitted, the body is returned inline.",
219
- "required": false
220
- }
221
- }
183
+ get_network_request: {
184
+ description: 'Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.',
185
+ category: 'Network',
186
+ args: {
187
+ reqid: {
188
+ name: 'reqid',
189
+ type: 'number',
190
+ description: 'The reqid of the network request. If omitted returns the currently selected request in the DevTools Network panel.',
191
+ required: false,
192
+ },
193
+ requestFilePath: {
194
+ name: 'requestFilePath',
195
+ type: 'string',
196
+ description: 'The absolute or relative path to save the request body to. If omitted, the body is returned inline.',
197
+ required: false,
198
+ },
199
+ responseFilePath: {
200
+ name: 'responseFilePath',
201
+ type: 'string',
202
+ description: 'The absolute or relative path to save the response body to. If omitted, the body is returned inline.',
203
+ required: false,
204
+ },
205
+ },
222
206
  },
223
- "handle_dialog": {
224
- "description": "If a browser dialog was opened, use this command to handle it",
225
- "category": "Input automation",
226
- "args": {
227
- "action": {
228
- "name": "action",
229
- "type": "string",
230
- "description": "Whether to dismiss or accept the dialog",
231
- "required": true,
232
- "enum": [
233
- "accept",
234
- "dismiss"
235
- ]
236
- },
237
- "promptText": {
238
- "name": "promptText",
239
- "type": "string",
240
- "description": "Optional prompt text to enter into the dialog.",
241
- "required": false
242
- }
243
- }
207
+ handle_dialog: {
208
+ description: 'If a browser dialog was opened, use this command to handle it',
209
+ category: 'Input automation',
210
+ args: {
211
+ action: {
212
+ name: 'action',
213
+ type: 'string',
214
+ description: 'Whether to dismiss or accept the dialog',
215
+ required: true,
216
+ enum: ['accept', 'dismiss'],
217
+ },
218
+ promptText: {
219
+ name: 'promptText',
220
+ type: 'string',
221
+ description: 'Optional prompt text to enter into the dialog.',
222
+ required: false,
223
+ },
224
+ },
244
225
  },
245
- "hover": {
246
- "description": "Hover over the provided element",
247
- "category": "Input automation",
248
- "args": {
249
- "uid": {
250
- "name": "uid",
251
- "type": "string",
252
- "description": "The uid of an element on the page from the page content snapshot",
253
- "required": true
254
- },
255
- "includeSnapshot": {
256
- "name": "includeSnapshot",
257
- "type": "boolean",
258
- "description": "Whether to include a snapshot in the response. Default is false.",
259
- "required": false
260
- }
261
- }
226
+ hover: {
227
+ description: 'Hover over the provided element',
228
+ category: 'Input automation',
229
+ args: {
230
+ uid: {
231
+ name: 'uid',
232
+ type: 'string',
233
+ description: 'The uid of an element on the page from the page content snapshot',
234
+ required: true,
235
+ },
236
+ includeSnapshot: {
237
+ name: 'includeSnapshot',
238
+ type: 'boolean',
239
+ description: 'Whether to include a snapshot in the response. Default is false.',
240
+ required: false,
241
+ },
242
+ },
262
243
  },
263
- "lighthouse_audit": {
264
- "description": "Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run performance_start_trace",
265
- "category": "Debugging",
266
- "args": {
267
- "mode": {
268
- "name": "mode",
269
- "type": "string",
270
- "description": "\"navigation\" reloads & audits. \"snapshot\" analyzes current state.",
271
- "required": false,
272
- "default": "navigation",
273
- "enum": [
274
- "navigation",
275
- "snapshot"
276
- ]
277
- },
278
- "device": {
279
- "name": "device",
280
- "type": "string",
281
- "description": "Device to emulate.",
282
- "required": false,
283
- "default": "desktop",
284
- "enum": [
285
- "desktop",
286
- "mobile"
287
- ]
288
- },
289
- "outputDirPath": {
290
- "name": "outputDirPath",
291
- "type": "string",
292
- "description": "Directory for reports. If omitted, uses temporary files.",
293
- "required": false
294
- }
295
- }
244
+ lighthouse_audit: {
245
+ description: 'Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run performance_start_trace',
246
+ category: 'Debugging',
247
+ args: {
248
+ mode: {
249
+ name: 'mode',
250
+ type: 'string',
251
+ description: '"navigation" reloads & audits. "snapshot" analyzes current state.',
252
+ required: false,
253
+ default: 'navigation',
254
+ enum: ['navigation', 'snapshot'],
255
+ },
256
+ device: {
257
+ name: 'device',
258
+ type: 'string',
259
+ description: 'Device to emulate.',
260
+ required: false,
261
+ default: 'desktop',
262
+ enum: ['desktop', 'mobile'],
263
+ },
264
+ outputDirPath: {
265
+ name: 'outputDirPath',
266
+ type: 'string',
267
+ description: 'Directory for reports. If omitted, uses temporary files.',
268
+ required: false,
269
+ },
270
+ },
296
271
  },
297
- "list_console_messages": {
298
- "description": "List all console messages for the currently selected page since the last navigation.",
299
- "category": "Debugging",
300
- "args": {
301
- "pageSize": {
302
- "name": "pageSize",
303
- "type": "integer",
304
- "description": "Maximum number of messages to return. When omitted, returns all requests.",
305
- "required": false
306
- },
307
- "pageIdx": {
308
- "name": "pageIdx",
309
- "type": "integer",
310
- "description": "Page number to return (0-based). When omitted, returns the first page.",
311
- "required": false
312
- },
313
- "types": {
314
- "name": "types",
315
- "type": "array",
316
- "description": "Filter messages to only return messages of the specified resource types. When omitted or empty, returns all messages.",
317
- "required": false
318
- },
319
- "includePreservedMessages": {
320
- "name": "includePreservedMessages",
321
- "type": "boolean",
322
- "description": "Set to true to return the preserved messages over the last 3 navigations.",
323
- "required": false,
324
- "default": false
325
- }
326
- }
272
+ list_console_messages: {
273
+ description: 'List all console messages for the currently selected page since the last navigation.',
274
+ category: 'Debugging',
275
+ args: {
276
+ pageSize: {
277
+ name: 'pageSize',
278
+ type: 'integer',
279
+ description: 'Maximum number of messages to return. When omitted, returns all requests.',
280
+ required: false,
281
+ },
282
+ pageIdx: {
283
+ name: 'pageIdx',
284
+ type: 'integer',
285
+ description: 'Page number to return (0-based). When omitted, returns the first page.',
286
+ required: false,
287
+ },
288
+ types: {
289
+ name: 'types',
290
+ type: 'array',
291
+ description: 'Filter messages to only return messages of the specified resource types. When omitted or empty, returns all messages.',
292
+ required: false,
293
+ },
294
+ includePreservedMessages: {
295
+ name: 'includePreservedMessages',
296
+ type: 'boolean',
297
+ description: 'Set to true to return the preserved messages over the last 3 navigations.',
298
+ required: false,
299
+ default: false,
300
+ },
301
+ },
327
302
  },
328
- "list_network_requests": {
329
- "description": "List all requests for the currently selected page since the last navigation.",
330
- "category": "Network",
331
- "args": {
332
- "pageSize": {
333
- "name": "pageSize",
334
- "type": "integer",
335
- "description": "Maximum number of requests to return. When omitted, returns all requests.",
336
- "required": false
337
- },
338
- "pageIdx": {
339
- "name": "pageIdx",
340
- "type": "integer",
341
- "description": "Page number to return (0-based). When omitted, returns the first page.",
342
- "required": false
343
- },
344
- "resourceTypes": {
345
- "name": "resourceTypes",
346
- "type": "array",
347
- "description": "Filter requests to only return requests of the specified resource types. When omitted or empty, returns all requests.",
348
- "required": false
349
- },
350
- "includePreservedRequests": {
351
- "name": "includePreservedRequests",
352
- "type": "boolean",
353
- "description": "Set to true to return the preserved requests over the last 3 navigations.",
354
- "required": false,
355
- "default": false
356
- }
357
- }
303
+ list_network_requests: {
304
+ description: 'List all requests for the currently selected page since the last navigation.',
305
+ category: 'Network',
306
+ args: {
307
+ pageSize: {
308
+ name: 'pageSize',
309
+ type: 'integer',
310
+ description: 'Maximum number of requests to return. When omitted, returns all requests.',
311
+ required: false,
312
+ },
313
+ pageIdx: {
314
+ name: 'pageIdx',
315
+ type: 'integer',
316
+ description: 'Page number to return (0-based). When omitted, returns the first page.',
317
+ required: false,
318
+ },
319
+ resourceTypes: {
320
+ name: 'resourceTypes',
321
+ type: 'array',
322
+ description: 'Filter requests to only return requests of the specified resource types. When omitted or empty, returns all requests.',
323
+ required: false,
324
+ },
325
+ includePreservedRequests: {
326
+ name: 'includePreservedRequests',
327
+ type: 'boolean',
328
+ description: 'Set to true to return the preserved requests over the last 3 navigations.',
329
+ required: false,
330
+ default: false,
331
+ },
332
+ },
358
333
  },
359
- "list_pages": {
360
- "description": "Get a list of pages open in the browser.",
361
- "category": "Navigation automation",
362
- "args": {}
334
+ list_pages: {
335
+ description: 'Get a list of pages open in the browser.',
336
+ category: 'Navigation automation',
337
+ args: {},
363
338
  },
364
- "list_webmcp_tools": {
365
- "description": "List WebMCP tools exposed by the selected page, a specific pageId, or across all open pages. Supports compact summaries and glob filtering.",
366
- "category": "Debugging",
367
- "args": {
368
- "pageId": {
369
- "name": "pageId",
370
- "type": "number",
371
- "description": "Targets a specific page by ID. Defaults to the selected page.",
372
- "required": false
373
- },
374
- "allPages": {
375
- "name": "allPages",
376
- "type": "boolean",
377
- "description": "If true, search across all open pages instead of only the selected page.",
378
- "required": false
379
- },
380
- "pattern": {
381
- "name": "pattern",
382
- "type": "string",
383
- "description": "Optional glob pattern to filter tool names, for example \"list_*\" or \"*_entity\".",
384
- "required": false
385
- },
386
- "summary": {
387
- "name": "summary",
388
- "type": "boolean",
389
- "description": "If true, omit input schemas and return compact tool summaries.",
390
- "required": false
391
- }
392
- }
339
+ navigate_page: {
340
+ description: 'Go to a URL, or back, forward, or reload. Use project URL if not specified otherwise.',
341
+ category: 'Navigation automation',
342
+ args: {
343
+ type: {
344
+ name: 'type',
345
+ type: 'string',
346
+ description: 'Navigate the page by URL, back or forward in history, or reload.',
347
+ required: false,
348
+ enum: ['url', 'back', 'forward', 'reload'],
349
+ },
350
+ url: {
351
+ name: 'url',
352
+ type: 'string',
353
+ description: 'Target URL (only type=url)',
354
+ required: false,
355
+ },
356
+ ignoreCache: {
357
+ name: 'ignoreCache',
358
+ type: 'boolean',
359
+ description: 'Whether to ignore cache on reload.',
360
+ required: false,
361
+ },
362
+ handleBeforeUnload: {
363
+ name: 'handleBeforeUnload',
364
+ type: 'string',
365
+ description: 'Whether to auto accept or beforeunload dialogs triggered by this navigation. Default is accept.',
366
+ required: false,
367
+ enum: ['accept', 'decline'],
368
+ },
369
+ initScript: {
370
+ name: 'initScript',
371
+ type: 'string',
372
+ description: 'A JavaScript script to be executed on each new document before any other scripts for the next navigation.',
373
+ required: false,
374
+ },
375
+ timeout: {
376
+ name: 'timeout',
377
+ type: 'integer',
378
+ description: 'Maximum wait time in milliseconds. If set to 0, the default timeout will be used.',
379
+ required: false,
380
+ },
381
+ },
393
382
  },
394
- "navigate_page": {
395
- "description": "Go to a URL, or back, forward, or reload. Use project URL if not specified otherwise.",
396
- "category": "Navigation automation",
397
- "args": {
398
- "type": {
399
- "name": "type",
400
- "type": "string",
401
- "description": "Navigate the page by URL, back or forward in history, or reload.",
402
- "required": false,
403
- "enum": [
404
- "url",
405
- "back",
406
- "forward",
407
- "reload"
408
- ]
409
- },
410
- "url": {
411
- "name": "url",
412
- "type": "string",
413
- "description": "Target URL (only type=url)",
414
- "required": false
415
- },
416
- "ignoreCache": {
417
- "name": "ignoreCache",
418
- "type": "boolean",
419
- "description": "Whether to ignore cache on reload.",
420
- "required": false
421
- },
422
- "handleBeforeUnload": {
423
- "name": "handleBeforeUnload",
424
- "type": "string",
425
- "description": "Whether to auto accept or beforeunload dialogs triggered by this navigation. Default is accept.",
426
- "required": false,
427
- "enum": [
428
- "accept",
429
- "decline"
430
- ]
431
- },
432
- "initScript": {
433
- "name": "initScript",
434
- "type": "string",
435
- "description": "A JavaScript script to be executed on each new document before any other scripts for the next navigation.",
436
- "required": false
437
- },
438
- "timeout": {
439
- "name": "timeout",
440
- "type": "integer",
441
- "description": "Maximum wait time in milliseconds. If set to 0, the default timeout will be used.",
442
- "required": false
443
- }
444
- }
383
+ new_page: {
384
+ description: 'Open a new tab and load a URL. Use project URL if not specified otherwise.',
385
+ category: 'Navigation automation',
386
+ args: {
387
+ url: {
388
+ name: 'url',
389
+ type: 'string',
390
+ description: 'URL to load in a new page.',
391
+ required: true,
392
+ },
393
+ background: {
394
+ name: 'background',
395
+ type: 'boolean',
396
+ description: 'Whether to open the page in the background without bringing it to the front. Default is false (foreground).',
397
+ required: false,
398
+ },
399
+ isolatedContext: {
400
+ name: 'isolatedContext',
401
+ type: 'string',
402
+ 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.',
403
+ required: false,
404
+ },
405
+ timeout: {
406
+ name: 'timeout',
407
+ type: 'integer',
408
+ description: 'Maximum wait time in milliseconds. If set to 0, the default timeout will be used.',
409
+ required: false,
410
+ },
411
+ },
445
412
  },
446
- "new_page": {
447
- "description": "Open a new tab and load a URL. Use project URL if not specified otherwise.",
448
- "category": "Navigation automation",
449
- "args": {
450
- "url": {
451
- "name": "url",
452
- "type": "string",
453
- "description": "URL to load in a new page.",
454
- "required": true
455
- },
456
- "background": {
457
- "name": "background",
458
- "type": "boolean",
459
- "description": "Whether to open the page in the background without bringing it to the front. Default is false (foreground).",
460
- "required": false
461
- },
462
- "isolatedContext": {
463
- "name": "isolatedContext",
464
- "type": "string",
465
- "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.",
466
- "required": false
467
- },
468
- "timeout": {
469
- "name": "timeout",
470
- "type": "integer",
471
- "description": "Maximum wait time in milliseconds. If set to 0, the default timeout will be used.",
472
- "required": false
473
- }
474
- }
413
+ performance_analyze_insight: {
414
+ description: 'Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.',
415
+ category: 'Performance',
416
+ args: {
417
+ insightSetId: {
418
+ name: 'insightSetId',
419
+ type: 'string',
420
+ description: 'The id for the specific insight set. Only use the ids given in the "Available insight sets" list.',
421
+ required: true,
422
+ },
423
+ insightName: {
424
+ name: 'insightName',
425
+ type: 'string',
426
+ description: 'The name of the Insight you want more information on. For example: "DocumentLatency" or "LCPBreakdown"',
427
+ required: true,
428
+ },
429
+ },
475
430
  },
476
- "performance_analyze_insight": {
477
- "description": "Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.",
478
- "category": "Performance",
479
- "args": {
480
- "insightSetId": {
481
- "name": "insightSetId",
482
- "type": "string",
483
- "description": "The id for the specific insight set. Only use the ids given in the \"Available insight sets\" list.",
484
- "required": true
485
- },
486
- "insightName": {
487
- "name": "insightName",
488
- "type": "string",
489
- "description": "The name of the Insight you want more information on. For example: \"DocumentLatency\" or \"LCPBreakdown\"",
490
- "required": true
491
- }
492
- }
431
+ performance_start_trace: {
432
+ 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.',
433
+ category: 'Performance',
434
+ args: {
435
+ reload: {
436
+ name: 'reload',
437
+ type: 'boolean',
438
+ 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.',
439
+ required: false,
440
+ default: true,
441
+ },
442
+ autoStop: {
443
+ name: 'autoStop',
444
+ type: 'boolean',
445
+ description: 'Determines if the trace recording should be automatically stopped.',
446
+ required: false,
447
+ default: true,
448
+ },
449
+ filePath: {
450
+ name: 'filePath',
451
+ type: 'string',
452
+ 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).',
453
+ required: false,
454
+ },
455
+ },
493
456
  },
494
- "performance_start_trace": {
495
- "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.",
496
- "category": "Performance",
497
- "args": {
498
- "reload": {
499
- "name": "reload",
500
- "type": "boolean",
501
- "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.",
502
- "required": false,
503
- "default": true
504
- },
505
- "autoStop": {
506
- "name": "autoStop",
507
- "type": "boolean",
508
- "description": "Determines if the trace recording should be automatically stopped.",
509
- "required": false,
510
- "default": true
511
- },
512
- "filePath": {
513
- "name": "filePath",
514
- "type": "string",
515
- "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).",
516
- "required": false
517
- }
518
- }
457
+ performance_stop_trace: {
458
+ description: 'Stop the active performance trace recording on the selected webpage.',
459
+ category: 'Performance',
460
+ args: {
461
+ filePath: {
462
+ name: 'filePath',
463
+ type: 'string',
464
+ 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).',
465
+ required: false,
466
+ },
467
+ },
519
468
  },
520
- "performance_stop_trace": {
521
- "description": "Stop the active performance trace recording on the selected webpage.",
522
- "category": "Performance",
523
- "args": {
524
- "filePath": {
525
- "name": "filePath",
526
- "type": "string",
527
- "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).",
528
- "required": false
529
- }
530
- }
469
+ press_key: {
470
+ 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).',
471
+ category: 'Input automation',
472
+ args: {
473
+ key: {
474
+ name: 'key',
475
+ type: 'string',
476
+ description: 'A key or a combination (e.g., "Enter", "Control+A", "Control++", "Control+Shift+R"). Modifiers: Control, Shift, Alt, Meta',
477
+ required: true,
478
+ },
479
+ includeSnapshot: {
480
+ name: 'includeSnapshot',
481
+ type: 'boolean',
482
+ description: 'Whether to include a snapshot in the response. Default is false.',
483
+ required: false,
484
+ },
485
+ },
531
486
  },
532
- "press_key": {
533
- "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).",
534
- "category": "Input automation",
535
- "args": {
536
- "key": {
537
- "name": "key",
538
- "type": "string",
539
- "description": "A key or a combination (e.g., \"Enter\", \"Control+A\", \"Control++\", \"Control+Shift+R\"). Modifiers: Control, Shift, Alt, Meta",
540
- "required": true
541
- },
542
- "includeSnapshot": {
543
- "name": "includeSnapshot",
544
- "type": "boolean",
545
- "description": "Whether to include a snapshot in the response. Default is false.",
546
- "required": false
547
- }
548
- }
487
+ resize_page: {
488
+ description: "Resizes the selected page's window so that the page has specified dimension",
489
+ category: 'Emulation',
490
+ args: {
491
+ width: {
492
+ name: 'width',
493
+ type: 'number',
494
+ description: 'Page width',
495
+ required: true,
496
+ },
497
+ height: {
498
+ name: 'height',
499
+ type: 'number',
500
+ description: 'Page height',
501
+ required: true,
502
+ },
503
+ },
549
504
  },
550
- "resize_page": {
551
- "description": "Resizes the selected page's window so that the page has specified dimension",
552
- "category": "Emulation",
553
- "args": {
554
- "width": {
555
- "name": "width",
556
- "type": "number",
557
- "description": "Page width",
558
- "required": true
559
- },
560
- "height": {
561
- "name": "height",
562
- "type": "number",
563
- "description": "Page height",
564
- "required": true
565
- }
566
- }
505
+ select_page: {
506
+ description: 'Select a page as a context for future tool calls.',
507
+ category: 'Navigation automation',
508
+ args: {
509
+ pageId: {
510
+ name: 'pageId',
511
+ type: 'number',
512
+ description: 'The ID of the page to select. Call list_pages to get available pages.',
513
+ required: true,
514
+ },
515
+ bringToFront: {
516
+ name: 'bringToFront',
517
+ type: 'boolean',
518
+ description: 'Whether to focus the page and bring it to the top.',
519
+ required: false,
520
+ },
521
+ },
567
522
  },
568
- "select_page": {
569
- "description": "Select a page as a context for future tool calls.",
570
- "category": "Navigation automation",
571
- "args": {
572
- "pageId": {
573
- "name": "pageId",
574
- "type": "number",
575
- "description": "The ID of the page to select. Call list_pages to get available pages.",
576
- "required": true
577
- },
578
- "bringToFront": {
579
- "name": "bringToFront",
580
- "type": "boolean",
581
- "description": "Whether to focus the page and bring it to the top.",
582
- "required": false
583
- }
584
- }
523
+ take_memory_snapshot: {
524
+ description: 'Capture a memory heapsnapshot of the currently selected page to memory leak debugging',
525
+ category: 'Performance',
526
+ args: {
527
+ filePath: {
528
+ name: 'filePath',
529
+ type: 'string',
530
+ description: 'A path to a .heapsnapshot file to save the heapsnapshot to.',
531
+ required: true,
532
+ },
533
+ },
585
534
  },
586
- "take_memory_snapshot": {
587
- "description": "Capture a memory heapsnapshot of the currently selected page to memory leak debugging",
588
- "category": "Performance",
589
- "args": {
590
- "filePath": {
591
- "name": "filePath",
592
- "type": "string",
593
- "description": "A path to a .heapsnapshot file to save the heapsnapshot to.",
594
- "required": true
595
- }
596
- }
535
+ take_screenshot: {
536
+ description: 'Take a screenshot of the page or element.',
537
+ category: 'Debugging',
538
+ args: {
539
+ format: {
540
+ name: 'format',
541
+ type: 'string',
542
+ description: 'Type of format to save the screenshot as. Default is "png"',
543
+ required: false,
544
+ default: 'png',
545
+ enum: ['png', 'jpeg', 'webp'],
546
+ },
547
+ quality: {
548
+ name: 'quality',
549
+ type: 'number',
550
+ description: 'Compression quality for JPEG and WebP formats (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format.',
551
+ required: false,
552
+ },
553
+ uid: {
554
+ name: 'uid',
555
+ type: 'string',
556
+ description: 'The uid of an element on the page from the page content snapshot. If omitted takes a pages screenshot.',
557
+ required: false,
558
+ },
559
+ fullPage: {
560
+ name: 'fullPage',
561
+ type: 'boolean',
562
+ description: 'If set to true takes a screenshot of the full page instead of the currently visible viewport. Incompatible with uid.',
563
+ required: false,
564
+ },
565
+ filePath: {
566
+ name: 'filePath',
567
+ type: 'string',
568
+ 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.',
569
+ required: false,
570
+ },
571
+ },
597
572
  },
598
- "take_screenshot": {
599
- "description": "Take a screenshot of the page or element.",
600
- "category": "Debugging",
601
- "args": {
602
- "format": {
603
- "name": "format",
604
- "type": "string",
605
- "description": "Type of format to save the screenshot as. Default is \"png\"",
606
- "required": false,
607
- "default": "png",
608
- "enum": [
609
- "png",
610
- "jpeg",
611
- "webp"
612
- ]
613
- },
614
- "quality": {
615
- "name": "quality",
616
- "type": "number",
617
- "description": "Compression quality for JPEG and WebP formats (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format.",
618
- "required": false
619
- },
620
- "uid": {
621
- "name": "uid",
622
- "type": "string",
623
- "description": "The uid of an element on the page from the page content snapshot. If omitted takes a pages screenshot.",
624
- "required": false
625
- },
626
- "fullPage": {
627
- "name": "fullPage",
628
- "type": "boolean",
629
- "description": "If set to true takes a screenshot of the full page instead of the currently visible viewport. Incompatible with uid.",
630
- "required": false
631
- },
632
- "filePath": {
633
- "name": "filePath",
634
- "type": "string",
635
- "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.",
636
- "required": false
637
- }
638
- }
573
+ take_snapshot: {
574
+ 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).',
575
+ category: 'Debugging',
576
+ args: {
577
+ verbose: {
578
+ name: 'verbose',
579
+ type: 'boolean',
580
+ description: 'Whether to include all possible information available in the full a11y tree. Default is false.',
581
+ required: false,
582
+ },
583
+ filePath: {
584
+ name: 'filePath',
585
+ type: 'string',
586
+ 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.',
587
+ required: false,
588
+ },
589
+ },
639
590
  },
640
- "take_snapshot": {
641
- "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).",
642
- "category": "Debugging",
643
- "args": {
644
- "verbose": {
645
- "name": "verbose",
646
- "type": "boolean",
647
- "description": "Whether to include all possible information available in the full a11y tree. Default is false.",
648
- "required": false
649
- },
650
- "filePath": {
651
- "name": "filePath",
652
- "type": "string",
653
- "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.",
654
- "required": false
655
- }
656
- }
591
+ type_text: {
592
+ description: 'Type text using keyboard into a previously focused input',
593
+ category: 'Input automation',
594
+ args: {
595
+ text: {
596
+ name: 'text',
597
+ type: 'string',
598
+ description: 'The text to type',
599
+ required: true,
600
+ },
601
+ submitKey: {
602
+ name: 'submitKey',
603
+ type: 'string',
604
+ description: 'Optional key to press after typing. E.g., "Enter", "Tab", "Escape"',
605
+ required: false,
606
+ },
607
+ },
657
608
  },
658
- "type_text": {
659
- "description": "Type text using keyboard into a previously focused input",
660
- "category": "Input automation",
661
- "args": {
662
- "text": {
663
- "name": "text",
664
- "type": "string",
665
- "description": "The text to type",
666
- "required": true
667
- },
668
- "submitKey": {
669
- "name": "submitKey",
670
- "type": "string",
671
- "description": "Optional key to press after typing. E.g., \"Enter\", \"Tab\", \"Escape\"",
672
- "required": false
673
- }
674
- }
609
+ upload_file: {
610
+ description: 'Upload a file through a provided element.',
611
+ category: 'Input automation',
612
+ args: {
613
+ uid: {
614
+ name: 'uid',
615
+ type: 'string',
616
+ description: 'The uid of the file input element or an element that will open file chooser on the page from the page content snapshot',
617
+ required: true,
618
+ },
619
+ filePath: {
620
+ name: 'filePath',
621
+ type: 'string',
622
+ description: 'The local path of the file to upload',
623
+ required: true,
624
+ },
625
+ includeSnapshot: {
626
+ name: 'includeSnapshot',
627
+ type: 'boolean',
628
+ description: 'Whether to include a snapshot in the response. Default is false.',
629
+ required: false,
630
+ },
631
+ },
632
+ },
633
+ wait_for: {
634
+ description: 'Wait for the specified text to appear on the selected page.',
635
+ category: 'Navigation automation',
636
+ args: {
637
+ text: {
638
+ name: 'text',
639
+ type: 'array',
640
+ description: 'Non-empty list of texts. Resolves when any value appears on the page.',
641
+ required: true,
642
+ },
643
+ timeout: {
644
+ name: 'timeout',
645
+ type: 'integer',
646
+ description: 'Maximum wait time in milliseconds. If set to 0, the default timeout will be used.',
647
+ required: false,
648
+ },
649
+ },
675
650
  },
676
- "upload_file": {
677
- "description": "Upload a file through a provided element.",
678
- "category": "Input automation",
679
- "args": {
680
- "uid": {
681
- "name": "uid",
682
- "type": "string",
683
- "description": "The uid of the file input element or an element that will open file chooser on the page from the page content snapshot",
684
- "required": true
685
- },
686
- "filePath": {
687
- "name": "filePath",
688
- "type": "string",
689
- "description": "The local path of the file to upload",
690
- "required": true
691
- },
692
- "includeSnapshot": {
693
- "name": "includeSnapshot",
694
- "type": "boolean",
695
- "description": "Whether to include a snapshot in the response. Default is false.",
696
- "required": false
697
- }
698
- }
699
- }
700
651
  };