Browsercompat Search Features
browsercompat_search_featuresFind web features by plain name or keyword when the canonical key is unknown, across CSS, JavaScript, HTML, Web APIs, SVG, MathML, WebAssembly, and HTTP headers. Returns ranked matches with the BCD key, the web-features id, the Baseline state, a one-line support summary, and which field matched. Feed a result key into browsercompat_get_feature for the full record.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "browsercompat_search_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Restrict results to features in one web-features group or any group nested under it, for example "selectors" or "css". Keys with no web-features mapping never match. Call browsercompat_list_reference with topic groups for valid ids. | |
| limit | No | Results to return on this page, 1 to 1000; the page holds that many, fewer only once the matches run out. When matches remain past this page, nextOffset continues. | |
| query | Yes | Plain-language name, keyword, or code notation, for example "container query", "fromAsync", "Array.prototype.at", "display: grid", or "<dialog>". | |
| offset | No | Number of ranked matches to skip before returning results, for paging past limit. Pass the nextOffset from the previous response. | |
| baseline | No | Restrict results to one Baseline state. | |
| snapshot | No | Restrict results to features in one ECMAScript snapshot, for example "ecmascript-2023". Call browsercompat_list_reference with topic snapshots for valid ids. | |
| namespace | No | Restrict results to one top-level browser-compat-data namespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The page size requested in limit. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of results on this page. | |
| results | No | Ranked matches, best first. An empty array is a successful search with no hits. | |
| truncated | No | True when more matches remain past this page. | |
| nextOffset | No | The offset of the next page. Present only while matches remain past this page. | |
| totalCount | No | Matches across every page, before offset and limit apply. | |
| data_version | No | Vintage of each bundled dataset behind this answer. | |
| offsetNotice | No | Why a page came back empty although the search matched. | |
| noMatchNotice | No | How to broaden a search that matched nothing. | |
| appliedFilters | No | Filters the server applied to this search. |