Cancel an appointment
cancel_appointmentCancels an appointment, removes it from the staff calendar and stops its reminders. When the customer agreed to texts, LobbyStack texts them that it's cancelled. Cancelling an appointment that is already cancelled returns it unchanged. Confirm with the owner before calling.
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": {
"appointment_id": "<appointment_id>"
},
"name": "cancel_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appointment_id | Yes | The appointment id (UUID). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable identifier (UUID). | |
| notes | Yes | Notes on the appointment. The receptionist can read them to a verified caller. | |
| source | Yes | Where the booking came from, for example voice, web_chat, dashboard or api. | |
| status | Yes | ||
| ends_at | Yes | ISO 8601 timestamp in UTC. | |
| staff_id | Yes | Stable identifier (UUID). | |
| timezone | Yes | ||
| starts_at | Yes | ISO 8601 timestamp in UTC. | |
| contact_id | Yes | Stable identifier (UUID). | |
| created_at | Yes | ISO 8601 timestamp in UTC. | |
| service_id | Yes | Stable identifier (UUID). | |
| staff_name | Yes | ||
| updated_at | Yes | ISO 8601 timestamp in UTC. | |
| contact_name | Yes | ||
| service_name | Yes | ||
| contact_phone | Yes | ||
| calendar_sync_status | Yes |