Add a product review
add_reviewInsert a new product review into the database. Specify product ID, customer ID, rating, and optional comment to record customer feedback.
Instructions
Insert a new review row for a product. This modifies the database.
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>",
"customer_id": "<customer_id>",
"rating": "<rating>"
},
"name": "add_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | ||
| comment | No | ||
| product_id | Yes | ||
| customer_id | Yes |