Choose a time to book at a clinic
choose_public_booking_timeFor a public_provider_booking action: keeps one time from list_public_booking_slots (or a soonest search row's earliest) and returns continue_url, Xona's page where the patient enters their own details and presses Book. Xona then books that time in the clinic's own scheduler. It takes the action and the time (service_id, slot_id, starts_at) only, reads that time again and keeps it only if it is still open; the page collects the patient's 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": {
"action_id": "<action_id>",
"service_id": "<service_id>",
"slot_id": "<slot_id>",
"starts_at": "<starts_at>"
},
"name": "choose_public_booking_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_id | Yes | The chosen time's id from list_public_booking_slots (slot_id on a soonest row's earliest). | |
| action_id | Yes | ||
| starts_at | Yes | The chosen time's starts_at, exactly as returned. | |
| service_id | Yes | The chosen time's service_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | On a limited answer: where a person sees the full page, and how an AI tool gets full facts. | |
| booking | No | ||
| limited | No | Present only on an answer without proof: this answer holds the practice's public directory record, not its facts. | |
| next_step | No | ||
| continue_url | No |