Rate an order
rate_orderRecords the customer's 1–5 star rating and optional comment for a delivered Fold order (rating again replaces the earlier one). Works with the connected account, or order code + the email used when scheduling. For a high rating the response includes Fold's public review link the customer may choose to use; for a low rating it notes that report_issue opens a support case (re-clean, damage, missing item).
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": {
"orderCode": "<orderCode>",
"stars": "<stars>"
},
"name": "rate_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Not needed with a connected account. | ||
| stars | Yes | ||
| comment | No | Optional, up to 500 characters, in the customer's words. | |
| orderCode | Yes |