Free appointment slots
pz_free_slotsList free appointment start times for a doctor's service at a center over a date range. Find available slots and see the next free day if none are open.
Instructions
Free appointment start times (Tehran HH:MM) per day for one service of a doctor at one center, for a date range.
Read-only: this only lists slots; it does not hold or book one. Get the ids from pz_doctor (or a
search card); find days with pz_free_days. If the range has no free slot, next_free_day points
to the next one. To book, send the user to the doctor's profile URL (booking needs an SMS login).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | Last day, inclusive (default date_from); at most 14 days after date_from. | |
| center_id | Yes | center_id from pz_doctor or a pz_search_doctors card, e.g. '291c1bfe-e8f3-414a-a82d-d6fe081683fb'; '5532' = online visit. | |
| date_from | No | First day, Gregorian YYYY-MM-DD (default today in Iran), e.g. '2026-10-10'. | |
| service_id | Yes | service_id of a service at that center, e.g. '1a4a8ec2-fdf9-436e-a32b-8fc4485f609c'. | |
| user_center_id | Yes | user_center_id of the same center (the doctor-at-center id), e.g. '09558bad-168d-4df8-b39d-437a260ca6fc'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||