Cancel a Corlenne booking (with e-mailed code)
cancel_bookingCancel under Corlenne's terms: free more than 24 hours before pick-up, 50% retained between 24 and 3 hours, 100% due within 3 hours. First call with booking_ref and email: returns the fee and refund and e-mails a 6-digit code to the booking address. Second call with confirmation_code (after the customer agrees): cancels, refunds the card automatically and sends the confirmation e-mail.
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": {
"booking_ref": "<booking_ref>",
"email": "<email>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of notes and booking link (default fr). | |
| Yes | |||
| booking_ref | Yes | ||
| confirmation_code | No | Second call only. |