Earliest free appointment
pz_first_availableCheck whether a doctor is bookable now and find the nearest free appointment slot by center, in person or online, using the doctor slug or profile URL (Tehran time).
Instructions
Whether a doctor can be booked now and the nearest free slot, in person, online and per center (Tehran time).
Quick check; names and service ids are in pz_doctor.
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": {
"slug": "<slug>"
},
"name": "pz_first_available"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Doctor slug (Persian, e.g. 'دکتر-هدیه-جباری-0') or URL. |