List a clinic's public booking slots
list_public_booking_slotsRead open times from a clinic's own online scheduler, by practice_slug, for one service_id between date_from and date_to (the clinic's dates, both included, at most 14 days). Each time carries starts_at, start_local (the time at the clinic), time_zone and booking_url, the page where the patient books that time (Xona's page on that service and day where Xona books the clinic's scheduler, else the clinic's own booking page); earliest is the first one; preferred_time puts the closest times first. An answer may be up to 5 minutes old: read_at says when the clinic's scheduler was read and age_seconds how long ago; fresh: true reads this clinic again (twice a minute per clinic; past that the answer says when it next can).
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": {
"practice_slug": "<practice_slug>",
"service_id": "<service_id>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "list_public_booking_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Read this clinic's scheduler now rather than from a read up to 5 minutes old | |
| date_to | Yes | Last day to read (inclusive), at most 13 days after date_from | |
| date_from | Yes | First day to read, in the clinic's time zone; today or later | |
| service_id | Yes | A service_id from list_public_booking_services, or from a soonest search row's services | |
| practice_slug | Yes | ||
| preferred_time | No | The patient's preferred local start time, 24-hour HH:MM; the closest times come first |
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. | |
| slots | No | ||
| date_to | No | ||
| limited | No | Present only on an answer without proof: this answer holds the practice's public directory record, not its facts. | |
| read_at | No | ||
| earliest | No | ||
| readable | No | ||
| use_tool | No | ||
| date_from | No | ||
| next_step | No | ||
| time_zone | No | ||
| fresh_note | No | ||
| service_id | No | ||
| age_seconds | No | ||
| booking_url | No | ||
| practice_slug | No |