Submit a product review
review_submitSubmit a product review with a 1–5 star rating and optional text to publish it on the product page. Requires a one-time mutation token and user confirmation.
Instructions
Submit a product review (1–5 rating plus optional text) by executing the server-provided review form action from the product detail (writeReviewAction/onSubmitReview or the rating form). Use when the user wants to publish a review for a product they bought. Mutating: the review becomes public on the product page — requires a one-time token from prepare_mutation (action=review_submit) and explicit user confirmation. Optional values carries extra typed form fields verbatim from the form response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Review text, if the user wants to write one. | |
| action | Yes | An AppAction object copied verbatim from a prior tool response (e.g. `profile`); it must contain form.meta.href. Never hand-craft URLs. | |
| rating | Yes | Star rating, 1 (worst) to 5 (best). | |
| values | No | Extra typed form values copied verbatim from the form response (payment/installment/consent fields). Omit if the form returned none. | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with the matching action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |