Record a delivery inspection
inspect_deliveryRecord the buyer's inspection of a placed order: for each item (its index in terms.items) the quantity accepted and the quantity rejected, with a reason for a rejection, optionally for one portion of the order. Whether it was accepted is computed: only when nothing is rejected. Recorded for the business, which answers a rejection in inspect_offer thread.fulfilment, with a proposed remedy. Nothing here pays or refunds.
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": {
"id": "<id>",
"token": "<token>",
"terms_sha256": "<terms_sha256>",
"lines": "<lines>",
"name": "<name>"
},
"name": "inspect_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request or offer id from your receipt or customer link | |
| name | Yes | Name of the person making this for the buyer | |
| note | No | ||
| lines | Yes | ||
| token | Yes | Private token from your receipt or customer link; keep it for later visits | |
| portion | No | The portion inspected, as thread.fulfilment.portions names it | |
| terms_sha256 | Yes | Exact terms_sha256 from inspect_offer; the act is refused if the terms have changed since |