Cancel a delivery
cancel_deliveryCancel before pickup; a successful cancellation releases the full fee hold. The owner of an open store may use this on another account's booking inside the decline window: that records store.declined and cancels with cancel_reason store_declined. After pickup the call returns not_cancellable. Safe to retry.
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": {
"delivery_id": "<delivery_id>"
},
"name": "cancel_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_id | Yes | ||
| robomart_version | No |