Rate a delivered order
rate_orderLeave a rating for the connected person's own DELIVERED order: food quality, delivery speed and packaging, each 1 to 5, an optional short comment, and optionally a rating for the rider. One rating per order; a repeat returns the existing one. The scores are the person's own. If the connection is set to confirm each decision, the first call returns the scores and submits nothing until a call with confirmed: true.
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": {
"food": "<food>",
"deliverySpeed": "<deliverySpeed>",
"packaging": "<packaging>"
},
"name": "rate_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | ||
| comment | No | ||
| orderId | No | The orderId from list_my_orders | |
| confirmed | No | True records that the person agreed to submit these scores | |
| orderCode | No | The order code returned when the order was placed, e.g. WA-K4M2 | |
| packaging | Yes | ||
| riderRating | No | ||
| restaurantId | No | The venue the order was placed at (needed with orderCode if the person has the same code at two venues) | |
| deliverySpeed | Yes |