Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
1,581 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
1,581
◇
Types & classes
341
↓ 2 callers
Method
executeThirdPartyDeveloperTool
( toolName: string, params: Record<string, unknown>, response: Response, )
src/McpPage.ts:991
↓ 2 callers
Function
extractExtensionId
(response: McpResponse)
tests/utils.ts:84
↓ 2 callers
Function
fetchFromPage
* Fetches `url` from the selected page and returns the outcome. The timeout * is generous on purpose: a blocked request fails synchronously in the *
tests/network_blocking.test.ts:106
↓ 2 callers
Method
formatAggregates
( aggregates: readonly HeapSnapshotAggregate[], options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:275
↓ 2 callers
Function
formatArg
(arg: unknown, formatter: {isIgnored: IgnoreCheck})
src/formatters/ConsoleFormatter.ts:450
↓ 2 callers
Function
formatCommentThread
(thread: StructuredCommentThread)
src/formatters/CommentFormatter.ts:22
↓ 2 callers
Method
formatContextAnalysis
( report: ContextAnalysisReport, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:351
↓ 2 callers
Method
formatDetailedClassDiffHeader
( diff: HeapSnapshotClassDiff, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:313
↓ 2 callers
Method
formatDetailedClassDiffObjects
( objects: readonly HeapSnapshotDiffObject[], )
src/formatters/HeapSnapshotFormatter.ts:320
↓ 2 callers
Function
formatDiffCounts
(counts: HeapSnapshotClassDiffTotals)
src/formatters/HeapSnapshotFormatter.ts:431
↓ 2 callers
Method
formatDiffSummary
( diffs: readonly HeapSnapshotClassDiff[], options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:291
↓ 2 callers
Method
formatDominators
( dominators: DevTools.HeapSnapshotModel.HeapSnapshotModel.DominatorChain, options: HeapSnapshotFormat
src/formatters/HeapSnapshotFormatter.ts:194
↓ 2 callers
Method
formatDuplicateStrings
( groups: ReadonlyArray<DuplicateStringGroup & {omittedNodeIds?: number}>, options: HeapSnapshotFormat
src/formatters/HeapSnapshotFormatter.ts:219
↓ 2 callers
Function
formatEnumChoice
* For enums, log the value as uppercase. * We're going to have an enum for such flags with choices represented * as an `enum` where the keys of the
src/telemetry/flagUtils.ts:20
↓ 2 callers
Function
formatFragment
( fragment: FormattableFragment, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:505
↓ 2 callers
Method
formatNativeContextSizes
( sizes: DevTools.HeapSnapshotModel.HeapSnapshotModel.NativeContextSizes, options: HeapSnapshotFormatO
src/formatters/HeapSnapshotFormatter.ts:239
↓ 2 callers
Method
formatNodes
( items: ReadonlyArray< | DevTools.HeapSnapshotModel.HeapSnapshotModel.Node | DevTools.HeapSna
src/formatters/HeapSnapshotFormatter.ts:135
↓ 2 callers
Method
formatObjectInfo
( info: DevTools.HeapSnapshotModel.HeapSnapshotModel.ObjectInfo, options: HeapSnapshotFormatOptions,
src/formatters/HeapSnapshotFormatter.ts:333
↓ 2 callers
Function
formatPropertyLine
* Formats a CSS property into standard CSS syntax with optional status tags. * * Status prefix convention: * - 'active': Clean output without tags
src/formatters/CssFormatter.ts:472
↓ 2 callers
Function
formatRemoteObject
( remoteObject: Protocol.Runtime.RemoteObject, )
src/formatters/RemoteObjectFormatter.ts:252
↓ 2 callers
Method
formatRetainedByContextSummary
( summary: DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainedByContextSummary, )
src/formatters/HeapSnapshotFormatter.ts:260
↓ 2 callers
Method
formatRetainingPaths
( retainingPaths: readonly DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainingEdge[], options: Heap
src/formatters/HeapSnapshotFormatter.ts:168
↓ 2 callers
Function
formatStackTraceInner
( stackTrace: FormattableStackTrace | undefined, cause: SymbolizedError | undefined, formatter: {isIgnor
src/formatters/ConsoleFormatter.ts:487
↓ 2 callers
Function
formatTotals
(totals: MemoryTotals)
scripts/profile/footprint_mcp.ts:259
↓ 2 callers
Method
fromDetails
(opts: { details: ExceptionDetailsLike; targetId: string; devTools?: TargetUniverse; // The se
src/devtools/DevtoolsUtils.ts:321
↓ 2 callers
Method
fromError
(opts: { error: RemoteObjectLike; targetId: string; devTools?: TargetUniverse; session?: Sessi
src/devtools/DevtoolsUtils.ts:396
↓ 2 callers
Method
fromException
* Builds an `UncaughtError` from a Puppeteer `exception` event, or returns * `undefined` when the raw exception details are not available.
src/collectors/PageCollector.ts:58
↓ 2 callers
Function
generateToolMetrics
(tools: ToolDefinition[])
src/telemetry/metricsRegistry.ts:96
↓ 2 callers
Function
getCascadeRuleHeader
( rule: Exclude<CascadeRule, ComputedStyleRule>, )
src/formatters/CssFormatter.ts:533
↓ 2 callers
Function
getCliOptions
()
src/config/mcp-options.ts:364
↓ 2 callers
Method
getComments
* Returns the comment threads sent to the agent. With * `includeTransmitted`, also returns open threads that an earlier call * already returned.
src/devtools/DevToolsCommentBridge.ts:119
↓ 2 callers
Method
getConsoleDataAfter
( id: number, )
src/McpPage.ts:865
↓ 2 callers
Method
getConsoleMessageStableId
( message: ConsoleMessage | Error | DevTools.AggregatedIssue | UncaughtError, )
src/McpResponse.ts:944
↓ 2 callers
Function
getDefaultSessionId
(env: NodeJS.ProcessEnv)
src/daemon/utils.ts:32
↓ 2 callers
Method
getDominatorsOf
( filePath: string, nodeId: number, )
src/processors/HeapSnapshotManager.ts:367
↓ 2 callers
Method
getDuplicateStrings
(filePath: string)
src/processors/HeapSnapshotManager.ts:544
↓ 2 callers
Function
getEnumValues
(zodType: unknown)
src/telemetry/transformation.ts:117
↓ 2 callers
Method
getExtension
(id: string)
src/McpContext.ts:1176
↓ 2 callers
Function
getFirstText
( result: Awaited<ReturnType<Client['callTool']>>, )
tests/index.test.ts:377
↓ 2 callers
Function
getGnBinaryPath
()
scripts/gn-gen.ts:15
↓ 2 callers
Method
getHeapSnapshotStats
( filePath: string, )
src/McpContext.ts:1206
↓ 2 callers
Function
getInheritableProperties
* Filters properties to only those that can be inherited from an ancestor element. * * For highlight pseudo-elements, custom properties (`--*`) are
src/formatters/CssFormatter.ts:492
↓ 2 callers
Method
getLatestConsoleMessageId
()
src/McpPage.ts:860
↓ 2 callers
Function
getMockResponse
( options: { status?: number; headers?: Record<string, string>; } = {}, )
tests/utils.ts:369
↓ 2 callers
Method
getNativeContextSizes
( filePath: string, )
src/processors/HeapSnapshotManager.ts:263
↓ 2 callers
Function
getNetworkMultiplierFromString
( condition: string | null, )
src/utils/WaitForHelper.ts:352
↓ 2 callers
Method
getNetworkRequestById
(reqid: number)
src/McpPage.ts:873
↓ 2 callers
Method
getNetworkRequestStableId
(request: HTTPRequest)
src/McpResponse.ts:950
↓ 2 callers
Method
getNetworkRequests
(includePreservedRequests?: boolean)
src/McpPage.ts:788
↓ 2 callers
Method
getObjectInfo
( filePath: string, nodeId: number, )
src/processors/HeapSnapshotManager.ts:325
↓ 2 callers
Function
getOffByDefaultCategories
()
src/config/category-options.ts:190
↓ 2 callers
Function
getParentNodeInfo
* Resolves DOM ancestor node details when a style declaration is inherited.
src/formatters/CssFormatter.ts:514
↓ 2 callers
Function
getPathKey
(env: NodeJS.ProcessEnv)
scripts/gclient-sync.ts:42
↓ 2 callers
Function
getPossibleFlagMetrics
(options: CliOptions)
src/telemetry/flagUtils.ts:86
↓ 2 callers
Function
getRedirectHeaders
( sourceUrl: URL, targetUrl: URL, originalHeaders: Record<string, string>, )
src/utils/network.ts:25
↓ 2 callers
Method
getRetainedByContextSummary
( filePath: string, )
src/processors/HeapSnapshotManager.ts:271
↓ 2 callers
Method
getRetainers
( filePath: string, nodeId: number, )
src/processors/HeapSnapshotManager.ts:311
↓ 2 callers
Method
getRetainingPaths
( filePath: string, nodeId: number, maxDepth?: number, maxNodes?: number, maxSiblings?: nu
src/processors/HeapSnapshotManager.ts:346
↓ 2 callers
Method
getSelectedMcpPageUrl
(page?: McpPage)
src/McpContext.ts:731
↓ 2 callers
Method
getSelectedPageFallback
* Returns details about the last page snapshot automatically replacing the * selection because the selected page disappeared from the page list, or
src/McpContext.ts:842
↓ 2 callers
Function
getSelectors
( matchedStyles: DevTools.CSSMatchedStyles.CSSMatchedStyles, )
tests/McpPage.test.ts:1889
↓ 2 callers
Method
getServiceWorkerConsoleData
( serviceWorkerId: string, )
src/McpContext.ts:889
↓ 2 callers
Method
getServiceWorkerConsoleMessageById
( serviceWorkerId: string, msgid: number, )
src/McpContext.ts:896
↓ 2 callers
Method
getServiceWorkerNetworkData
(serviceWorkerId: string)
src/McpContext.ts:907
↓ 2 callers
Method
getServiceWorkerNetworkRequestById
( serviceWorkerId: string, reqid: number, )
src/McpContext.ts:912
↓ 2 callers
Function
getSizeLimitedString
(text: string, sizeLimit: number)
src/formatters/NetworkFormatter.ts:317
↓ 2 callers
Method
getStaticData
( filePath: string, )
src/processors/HeapSnapshotManager.ts:255
↓ 2 callers
Method
getStats
( filePath: string, )
src/processors/HeapSnapshotManager.ts:247
↓ 2 callers
Function
getString
(value: unknown)
src/tools/lighthouse.ts:55
↓ 2 callers
Function
getString
(value: unknown, key: string)
scripts/generate-third-party-notices.ts:60
↓ 2 callers
Method
getTitle
* Returns the page title or an empty string if the target only has Chrome's * URL-based placeholder title. * * Puppeteer's cached target info
src/McpPage.ts:318
↓ 2 callers
Function
getTraceSummary
( result: TraceResult, deviceScope?: DevTools.CrUXManager.DeviceScope | null, )
src/processors/PerformanceTrace.ts:126
↓ 2 callers
Method
getWebAuthnAuthenticator
()
src/McpPage.ts:474
↓ 2 callers
Function
getWebAuthnLabel
(mcpPage: McpPage)
src/McpResponse.ts:2037
↓ 2 callers
Method
getWorkerById
(id: string)
src/McpContext.ts:1075
↓ 2 callers
Function
getZodType
(zodType: unknown)
src/telemetry/transformation.ts:77
↓ 2 callers
Method
groupConsecutive
* Groups consecutive messages with the same type, text, and arguments. * Similar to Chrome DevTools' console grouping behavior.
src/formatters/ConsoleFormatter.ts:320
↓ 2 callers
Method
handle
( context: McpContext, dataFormat: DataFormat = 'default', )
src/McpResponse.ts:871
↓ 2 callers
Function
handleActionError
* Locator actions abort or time out while the page is blocked by a JavaScript * dialog, even though the action itself was dispatched and opened that
src/tools/input.ts:52
↓ 2 callers
Function
initializeMcp
(client: McpStdioClient)
tests/e2e/telemetry.test.ts:223
↓ 2 callers
Function
isAvailableInMode
( tool: Pick<BaseToolDefinition, 'annotations'>, serverArgs: Pick<ParsedArguments, 'slim'>, )
src/tools/ToolDefinition.ts:874
↓ 2 callers
Method
isCruxEnabled
()
src/McpContext.ts:692
↓ 2 callers
Function
isDebuggingWebMcpTool
(tool: WebMCPTool)
src/McpPage.ts:155
↓ 2 callers
Function
isEdgeLike
( item: unknown, )
src/formatters/HeapSnapshotFormatter.ts:118
↓ 2 callers
Function
isErrnoPermissionError
( error: unknown, )
src/utils/errorHandling.ts:13
↓ 2 callers
Function
isExtensionOrigin
(origin: string)
src/collectors/ServiceWorkerCollector.ts:248
↓ 2 callers
Function
isFromSourceMap
(uiSourceCode: UISourceCode)
src/LogpointManager.ts:57
↓ 2 callers
Function
isLocalBrowserEndpoint
(url: string)
src/utils/url.ts:119
↓ 2 callers
Function
isObjectWithDef
(val: unknown)
src/telemetry/transformation.ts:69
↓ 2 callers
Function
isProcessAlive
(pid: number)
tests/e2e/telemetry.test.ts:126
↓ 2 callers
Function
isRecord
(value: unknown)
src/tools/lighthouse.ts:44
↓ 2 callers
Function
isReloadableOption
(name: keyof McpOptions)
src/config/mcp-options.ts:491
↓ 2 callers
Function
isSameDay
(d1: Date, d2: Date)
src/telemetry/ClearcutLogger.ts:55
↓ 2 callers
Function
isValidKey
(key: string)
src/utils/keyboard.ts:271
↓ 2 callers
Function
linkDevToolsDeps
()
scripts/link-devtools-deps.ts:10
↓ 2 callers
Method
list
(filter: NetworkMockFilter = {})
src/NetworkOverrideManager.ts:270
↓ 2 callers
Method
listExtensions
()
src/McpContext.ts:1172
↓ 2 callers
Function
listServerToolNames
(server: McpServer)
tests/McpServer.test.ts:103
↓ 2 callers
Function
listServerTools
(server: McpServer)
tests/McpServer.test.ts:93
↓ 2 callers
Function
loadIssueDescriptions
()
src/devtools/issueDescriptions.ts:20
← previous
next →
401–500 of 1,581, ranked by callers