datasets_vehicle_listings_facets
Returns terms aggregation counts for the vehicle listings dataset, honoring the same filters as search. Use alongside the related search tool to inspect filter counts under the same query filters.
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": {
"facet": "<facet>"
},
"name": "datasets_vehicle_listings_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional full-text query over make, model and trim, max 256 characters. | |
| vin | No | Optional exact VIN filter. VIN is present on a best-effort basis and not guaranteed on every listing. | |
| make | No | Optional exact make filter (e.g. Honda, Toyota), max 128 characters. | |
| page | No | Result page number, 1-based, default 1; page times page_size must not exceed 10000. | |
| sort | No | Optional sort order. Allowed values: relevance, recently_updated, newly_listed, price_asc, price_desc, mileage_asc, mileage_desc, year_desc, year_asc. Defaults to relevance with q, otherwise recently_updated. | |
| trim | No | Optional exact trim filter, max 128 characters. | |
| facet | Yes | Required facet to aggregate. Allowed values: source, make, model, trim, body_style, transmission, drive_type, fuel_type, seller_type, state, run_id. | |
| model | No | Optional exact model filter (e.g. Civic), max 128 characters. | |
| state | No | Optional exact US state abbreviation filter (e.g. CA), max 8 characters. | |
| run_id | No | Optional exact crawl run-id filter, max 128 characters. | |
| source | No | Optional exact source marketplace filter. Allowed values: carmax, autotrader, carsdotcom. | |
| max_year | No | Optional maximum model year, e.g. 2024. | |
| min_year | No | Optional minimum model year, e.g. 2018. | |
| fuel_type | No | Optional exact fuel type filter (e.g. Gas, Hybrid, Electric), max 128 characters. | |
| max_price | No | Optional maximum price in US dollars, 0 or greater. | |
| min_price | No | Optional minimum price in US dollars, 0 or greater. | |
| page_size | No | Page size, default 20, max 100; page times page_size must not exceed 10000. | |
| body_style | No | Optional exact body style filter (e.g. Sedan, SUV), max 128 characters. | |
| drive_type | No | Optional exact drivetrain filter (e.g. Front Wheel Drive), max 128 characters. | |
| max_mileage | No | Optional maximum odometer mileage, 0 or greater. | |
| seller_type | No | Optional exact seller type filter. Allowed values: retailer, dealer, private. | |
| transmission | No | Optional exact transmission filter, max 128 characters. | |
| is_price_reduced | No | Optional filter for listings currently marked down from a previous price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |