Natural-language vector search over the code, index management, and semantic RFC lookup.
semantic_searchSemantic Search
Search the codebase by natural language using vector embeddings. Requires the semantic index to be built first (reindex).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | required | — | Natural language query, e.g. "congestion control bitrate estimation". |
top_k | number | optional | 10 | Number of results (max 50). |
file_glob | string | optional | — | Filter by file path pattern, e.g. "api/**/*.h". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
index_statusSemantic Index Status
Check the semantic search index: existence, indexed chunk count, and whether files are stale.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
reindexReindex Codebase
Build or update the semantic search index (chunks C++ files, generates embeddings). Incremental by default.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
full | boolean | optional | false | Full rebuild (default: incremental). |
scope | string | optional | — | Limit to a subdirectory, e.g. "api" or "modules/video_coding". |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |
rfcRFC Lookup
Search, read, and list RFCs (WebRTC/SDP/RTP/ICE/STUN/TURN/SRTP/DTLS/SIP/SCTP/codecs), and find RFC references in code. Semantic search across indexed RFC texts.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
mode | enum["search","read","list","lookup"] | optional | search | search = semantic search, read = read RFC section, list = catalog, lookup = RFC refs in code. |
query | string | optional | — | Search query, e.g. "ICE candidate gathering process". |
rfc_id | number | optional | — | RFC number for read mode, e.g. 8445. |
tag | string | optional | — | Filter by tag: webrtc, sdp, rtp, ice, stun, turn, srtp, dtls, sip, sctp, codecs, congestion. |
start_line | number | optional | — | Start line for read mode. |
end_line | number | optional | — | End line for read mode. |
top_k | number | optional | 10 | Number of search results. |
version | string | optional | — | libwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed. |