Book an appointment (confirmed by text)
book_appointmentHolds an open time at a business for a person and texts them a link to confirm it. Nothing is booked, and the business isn't told, until they tap Confirm within 15 minutes; otherwise the time is released. After they confirm, the business accepts the request (or it's confirmed at once at instant-book businesses). Payment is at the business. Requires the person's name and US mobile number; the confirmation link is texted to that number. Businesses that take a card when booking return a booking page link instead of a hold.
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": {
"business": "<business>",
"service_id": "<service_id>",
"start": "<start>",
"name": "<name>",
"phone": "<phone>"
},
"name": "book_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The person's name | |
| No | Optional email for the business's confirmation | ||
| notes | No | Optional note for the business (300 characters max) | |
| phone | Yes | The person's US mobile number; the confirmation link is texted here | |
| start | Yes | The open slot's start time (ISO), exactly as listed in the business's open times | |
| business | Yes | The business slug or lokuli.com/shop/... link | |
| staff_id | No | Optional team member id | |
| service_id | Yes | The id of the service to book |