search_slots
Find available appointment slots by specialty, region, date, and optionally doctor or clinic. Returns booking handles for immediate use.
Instructions
Find available appointment slots for a specialty/region (optionally doctor/clinic).
Each returned slot carries a booking_string — the single-use handle you pass to
book_appointment or reschedule_appointment, and a visit_type (Center | Phone |
PhoneAdvice). The portal has no visit-type search filter, so to get in-person ("Center")
visits, choose an in-person specialty and/or filter the returned slots by visit_type.
next_search_date hints the StartTime to use to page further into the future. Re-run this
immediately before booking, because a booking_string can expire. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Optional latest date (YYYY-MM-DD). Slots after this date are dropped client-side (the portal only honours a start date). | |
| clinic_ids | No | Optional clinic IDs. | |
| doctor_ids | No | Optional doctor IDs. | |
| patient_id | No | MRN; defaults to the account holder. | |
| region_ids | Yes | Region IDs (e.g. ['204']). Required. | |
| start_date | Yes | Earliest date to search from, YYYY-MM-DD. | |
| language_ids | No | Optional doctor-language IDs (e.g. 4=Polski, 6=Angielski, 60=Ukraiński; resolve others via list_search_filters). | |
| specialty_ids | Yes | Specialty IDs. Required. | |
| slot_search_type | No | Slot category. 'Standard' (default) for normal consultations; 'DiagnosticProcedure' for diagnostic procedures. | Standard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| slots | Yes | ||
| next_search_date | No | Hint for the next StartTime when paging forward in time. |