dpreview_terms
Fetch the terms of one DPReview taxonomy (section, collection, brand or product-category) with counts from the public WordPress REST API; the term ids and slugs feed the posts and products routes. Use dpreview_posts for related data.
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": {
"taxonomy": "<taxonomy>"
},
"name": "dpreview_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number; the response total_pages says how many exist. | |
| post | No | Only terms attached to this post id. | |
| slug | No | Comma-separated slugs to return. | |
| order | No | Sort direction (default asc). Allowed values: asc, desc. | |
| fields | No | Comma-separated field names to keep in each item, such as id,slug,title,link; omit for every field. | |
| parent | No | Only children of this term id. | |
| 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 name). Allowed values: id, include, name, slug, include_slugs, term_group, description, count. | |
| per_page | No | Items per page, 1 to 100 (upstream default 10). | |
| taxonomy | Yes | Which taxonomy to list. Allowed values: section, collection, brand, product-category. | |
| hide_empty | No | Leave out terms with no items. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |