Leave vendor review
leave_reviewRecord the user's verified-purchase review of how a UFP order turned out. YOUR JOB IS TO STRUCTURE THE FEEDBACK: turn what the user actually said into stars (1-5 overall) and facet scores — "the cut was sloppy" -> quality, "parts arrived 2 days late" -> timeliness, "wrong color" -> accuracy. Keep the optional comment to a short factual summary of their words; never embellish. ALWAYS draft the review (stars, facets, comment) and confirm it with the user BEFORE calling this tool — e.g. "I'll rate this 2 stars with timeliness 1 because it arrived 2 days late — send it?". One review per order: submitting again updates the existing review. If you do not have the order id from this conversation, ask the user for it (it is on their receipt email and order page); never guess one.
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": {
"order_id": "<order_id>",
"stars": "<stars>"
},
"name": "leave_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stars | Yes | Overall rating the user confirmed, 1-5 | |
| claims | No | CHECKABLE claims from the user's feedback — the network stamps each against its own records (the ordered spec, polled tracking + delivery events) and attaches evidence chips to the review. Only pass what the user actually asserted. | |
| facets | No | Score only the facets the user actually spoke to | |
| comment | No | Short factual summary of the user's feedback, in their spirit — optional | |
| order_id | Yes | The UFP order being reviewed (ord_…), from create_checkout or get_order_status in this conversation, or from the user's receipt email / order page |