dpreview_products
Fetch DPReview's product database (cameras, lenses and more) from the public WordPress REST product endpoint with total counts, filtered by brand, category, price and any of the 80 published spec filters. Use dpreview_product for one product by id, or dpreview_product_facets to list the filter values (facet keys) the spec parameter accepts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dpreview_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number; the response total_pages says how many exist. | |
| slug | No | Comma-separated slugs to return. | |
| sort | No | Product sort order. Allowed values: newest, price-low, price-high, name. | |
| spec | No | Product spec filters as name=value pairs separated by semicolons, such as lens-mount=sonye;sensor-size=full-frame. Names are the 80 spec filters the site publishes (listed on the docs page); values come from the product facets route. | |
| after | No | Only items published after this date, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. | |
| brand | No | Brand slug from the terms route (taxonomy brand). | |
| order | No | Sort direction (default desc). Allowed values: asc, desc. | |
| price | No | Price band slug from the product-facets route: under-1000, under-2000, under-2500 or over-2500. | |
| before | No | Only items published before this date. | |
| fields | No | Comma-separated field names to keep in each item, such as id,slug,title,link; omit for every field. | |
| offset | No | Skip this many items. | |
| search | No | Full-text search text. | |
| context | No | view (default) returns the full item; embed returns the short embed form. Allowed values: view, embed. | |
| exclude | No | Comma-separated ids to leave out. | |
| include | No | Comma-separated ids to return. | |
| orderby | No | Sort field (default date). Allowed values: author, date, id, include, modified, parent, relevance, slug, include_slugs, title, menu_order, meta_value, meta_value_num, rand, post__in, comment_count, name. | |
| per_page | No | Items per page, 1 to 100 (upstream default 10). | |
| price_max | No | Maximum price. | |
| product_category | No | Product category slug from the terms route (taxonomy product-category). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |