GN build targets, module metadata, the public C++ API surface, macros, field trials, and in-tree docs.
dep_graphDependency Graph
Show dependencies between GN build targets (parses BUILD.gn deps/public_deps), or reverse dependencies.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
target | string | required | — | GN target, e.g. "api:peer_connection" or "modules/video_coding:video_coding". |
direction | enum["deps","rdeps","both"] | optional | deps | deps = dependencies of target, rdeps = targets that depend on it. |
max_depth | number | optional | 1 | Depth of traversal (max 2). |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
component_infoComponent Info
Aggregated info about a module/directory: BUILD.gn targets, OWNERS, README, public headers, and source file count.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | required | — | Module directory, e.g. "modules/audio_coding" or "api". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
get_api_headersGet API Headers
List or read public API header files from the api/ directory — the stable public API surface.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
subdirectory | string | optional | — | Subdirectory of api/, e.g. "video", "audio_codecs", "transport". |
filter | string | optional | — | Filter header file names by substring. |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
get_build_targetsGet Build Targets
Search for GN build targets in BUILD.gn files, or read a specific BUILD.gn.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | optional | — | Search for targets by name or keyword. |
path | string | optional | — | Read a specific BUILD.gn file, e.g. "api/BUILD.gn". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
explain_macroExplain Macro
Find the definition, location, and explanation of a WebRTC macro, e.g. RTC_EXPORT, RTC_DCHECK, RTC_LOG.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
macro | string | required | — | Macro name, e.g. "RTC_EXPORT" or "RTC_DCHECK". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
field_trialsField Trials
Search and inspect WebRTC field trial flags — list all, search by name, or get detailed usage for a specific trial.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | optional | — | Search by name substring, e.g. "Bwe" or "FlexFEC". Omit to list all. |
name | string | optional | — | Exact field trial name for detailed lookup, e.g. "WebRTC-FlexFEC-03". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
third_party_infoThird Party Info
List third_party dependencies for a version, parsed from the DEPS file (names, git URLs, pinned commits).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | optional | — | Filter by name substring, e.g. "boring" or "opus". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
read_docRead Documentation
Search and read documentation (.md) files in the source tree — by keyword, or read a specific doc file.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | optional | — | Keyword to search for in documentation files. |
path | string | optional | — | Specific doc file to read, e.g. "g3doc/index.md". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |