Send an enquiry
send_enquiryUse this when a person wants to ask a business on Bookatu about a trip or service, or ask it a question, instead of holding a time. Pass the person's own words as message, and people or dates only if they said them. Bookatu emails the person a 6-digit code and a link, and nothing reaches the business until they confirm. Do not use for booking a time that check_availability offers, or for health details.
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>",
"client": "<client>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "send_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | ||
| people | No | How many people, only if the person said so. | |
| message | No | The person's own words, as they said them. | |
| business | Yes | The business: its bookatu.com link or its own domain on Bookatu, or its slug. | |
| language | No | The language to answer in (BCP 47). | |
| serviceId | No | A service or trip from list_services. Leave it out for a general question. | |
| preferredEnd | No | The last day the person said, YYYY-MM-DD, on or after the first day. | |
| idempotencyKey | Yes | The same key and the same details for a retry of one enquiry; a new key for anything else. | |
| preferredStart | No | The first day the person said, YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| sentTo | Yes | The address the email goes to, masked. | |
| enquiry | Yes | ||
| service | Yes | ||
| business | Yes | ||
| demoCode | No | The demo business only: the code to confirm with. | |
| nextStep | Yes | What to tell the person next. | |
| bookingPageUrl | Yes | Where the person can send it on the business's own page. | |
| demoConfirmUrl | No | The demo business only, for an example address that gets no email: the link the email would have carried. The person opens it to send the enquiry. | |
| nextStepIfNoEmail | No | While the enquiry waits: what to do if the person has no email after a few minutes. |