Cancel delivery
cancel_deliveryCancel an unfinished delivery by delivery ID, providing a reason and optional notes; confirm with the user first because a canceled delivery cannot be resumed.
Instructions
Cancel a delivery that hasn't finished. Confirm with the user first; a canceled delivery can't be resumed.
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 |
|---|---|---|---|
| notes | No | ||
| reason | No | cx_canceled | |
| delivery_id | Yes | Delivery id returned by dispatch_robot |