rate_purchase
[Buy] Buyer rates 1-5. If escrow still held, also confirms delivery. Updates seller ratingAvg.
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": {
"purchaseId": "<purchaseId>",
"rating": "<rating>"
},
"name": "rate_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| rating | Yes | ||
| purchaseId | Yes |