product_reviews
Retrieve customer reviews for a product, filter by media or written text, paginate results, and sort by date or rating.
Instructions
List customer reviews for a product.
Args:
product_id: Product ID.
has_media: If true, only reviews that include photos/video.
has_text: If true, only reviews that include written text.
page: Page number, 1-based.
per_page: Reviews per page.
sort_field: Field to sort by (e.g. date, rating).
sort_order: Sort direction (asc/desc).
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": {
"product_id": "<product_id>"
},
"name": "product_reviews"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| has_text | No | ||
| per_page | No | ||
| has_media | No | ||
| product_id | Yes | ||
| sort_field | No | ||
| sort_order | No |