Free appointment slots
dt_free_slotsReturns free appointment times for a selected service, listing only days with available slots and the last bookable date.
Instructions
Free appointment times of one service (office visit, phone/video call, clinic offer, lab admission).
Returns only days with free times (HH:MM, Tehran local). bookable_until is the last day opened.
Text consultations usually have no slots.
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": {
"consultation_id": "<consultation_id>"
},
"name": "dt_free_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to check. | |
| start_date | No | Gregorian YYYY-MM-DD; default today (Tehran). | |
| consultation_id | Yes | Id from dt_doctor services[], dt_center bookable[] or dt_offer variants[]. |