Cancel a booking
cancel_bookingCancel one of the person's bookings with the contact_proof confirm_with_code gave, within the clinic's cancellation notice. Ask the person to confirm first. Nothing is refunded here; a paid visit is settled by the clinic.
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_id": "<booking_id>",
"contact_proof": "<contact_proof>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Answer language: nb (Norwegian) or en. | nb |
| reason | No | Why, if the person says. | |
| booking_id | Yes | A booking_id that confirm_with_code returned. | |
| contact_proof | Yes | The contact_proof confirm_with_code returned (one hour). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| booking_id | Yes |