Cancel a pending transfer request
cancel_transfer_requestUse this only when the customer has explicitly asked to cancel their transfer request and you have the booking reference returned by create_transfer_request and the email used for it. Cancels a request that is still pending or assigned, tells the operator (WhatsApp/email) and emails the customer a cancellation notice. Calling it again for an already-cancelled request is harmless and returns cancelled=true without notifying anyone again. Destructive and sends real messages: never call it to explore, to "test", or because the customer is merely unsure or wants to change details. Do not use for a request the operator has already confirmed (it is refused: the customer must contact the operator), for changing time/passengers/vehicle (contact the operator), or for refunds. Use get_request_status to check the current state first if unsure.
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": {
"reference": "<reference>",
"customerEmail": "<customerEmail>"
},
"name": "cancel_transfer_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional short reason given by the customer | |
| reference | Yes | Booking reference, e.g. AT-20260605-0001 | |
| customerEmail | Yes | Email address used when the request was submitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| cancelled | Yes | true: the request is cancelled | |
| reference | Yes | ||
| alreadyCancelled | No | true when it had been cancelled before this call (no new notification sent) | |
| operatorNotified | No |