Book an appointment
book_appointmentBook an appointment at a listed business for the person you are helping, exactly as the business's own online booking would: the booking arrives in the business's diary as a pending booking and the business confirms it; if the business asks for a deposit, you get the business's payment link to give the person instead. For law firms this is a consultation REQUEST — the firm checks for conflicts of interest first (give reason and other_parties; no confidential details). Only with the person's consent. TWO STEPS: call first WITHOUT confirm_token — nothing is sent, you get a preview of exactly what goes to whom plus a confirm_token. Show the preview to the person and ask if they agree. Only after they say yes, call again with the same details, confirm_token and consent=true.
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_id": "<business_id>",
"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 | Email address (optional, but needed for the confirmation email) | ||
| notes | No | Optional short note for the business | |
| phone | Yes | Mobile number, e.g. 082 123 4567 | |
| start | Yes | A start time from check_availability (ISO 8601) | |
| reason | No | Law firms only: one or two sentences on what it is about (no confidential details) | |
| consent | No | Second step only: true ONLY if the person saw the preview and agreed that these details may be sent to this business. | |
| staff_id | No | The staff_id that goes with that start time (from check_availability) | |
| service_id | Yes | ||
| business_id | Yes | ||
| confirm_token | No | Second step only: the confirm_token from the preview (single use, 10 minutes). Leave out on the first call. | |
| other_parties | No | Law firms only: names of other people or companies involved (for the conflict check) | |
| assistant_name | No | Name of the AI assistant making the request (optional) |