Create or update a booking
dosai_upsert_bookingRecord a booking made outside the assistant so the platform confirms it and reminds the client. Same external_id again = update; a new start_at = reschedule; status "cancelled" = cancel. start_at without an offset is project local time. The answer says whether the client's WhatsApp is a known contact (only known contacts get messages).
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": {
"project_id": "<project_id>",
"external_id": "<external_id>",
"start_at": "<start_at>"
},
"name": "dosai_upsert_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | Client's WhatsApp number, e.g. +77011234567. Or pass conversation_id. | |
| status | No | ||
| confirm | No | false = do not send the confirmation message. | |
| service | No | ||
| start_at | Yes | ISO 8601, or 2026-09-23 15:00 in the project's time zone. | |
| project_id | Yes | From dosai_list_projects. | |
| client_name | No | ||
| external_id | Yes | ||
| conversation_id | No | From dosai_list_conversations. |