Get SMQL Facets
get_smql_facetsSummarise what the scans matching an SMQL query have in common: the most frequent hosting networks, countries, domains, registrars, certificate issuers, technologies, favicons, JARM fingerprints, tracking IDs and AI verdicts. Counts cover the newest sample matching scans (100 to 5000, default 1000), not every match. Each value carries a ready SMQL filter to AND onto the query. fields is a comma-separated list of primary_asn, primary_ip, country, domain, title, registrar, nameserver, cert_issuer, technology, favicon_hash, phash, jarm, ja4s, tracking_id and verdict (a default set when omitted); size is values per facet (1 to 25).
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": {
"q": "<q>"
},
"name": "get_smql_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | SMQL query whose matching scans to summarise, for example title:"verify your account". | |
| size | No | Values to return per facet, 1 to 25. | |
| fields | No | Comma-separated facet names, for example primary_asn,country,registrar; omit for the default set. | |
| sample | No | How many of the newest matching scans to aggregate, 100 to 5000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||