{"components":{"schemas":{"Action":{"additionalProperties":true,"type":"object"},"Error":{"additionalProperties":false,"properties":{"error":{"type":"string"},"retry_after_seconds":{"description":"Present on 429: seconds until the client's pacing window resets.","minimum":1,"type":"integer"}},"required":["error"],"type":"object"},"JSONRPCError":{"additionalProperties":false,"properties":{"error":{"additionalProperties":true,"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"id":{},"jsonrpc":{"const":"2.0","type":"string"}},"required":["jsonrpc","error"],"type":"object"},"Practice":{"additionalProperties":true,"type":"object"},"PracticeRow":{"additionalProperties":false,"properties":{"actions":{"items":{"type":"string"},"type":"array"},"booking_url":{"description":"The page where the patient books this clinic (the action whose times the row shows); opening it starts the booking there.","format":"uri","type":"string"},"canonical_profile_url":{"format":"uri","type":"string"},"earliest":{"items":{"description":"One need's earliest open time, read from the clinic's own scheduler when the search ran. Each earliest is only a first pick: the first service in the clinic's own list whose name holds the need's word, an adult's before a child's. Clinic service names often say more than that word: \"New Patient Exam (No Cleaning)\", a new-patient bundle of exam, x-rays and cleaning, a service for children only, a fee or insurance note. Read service_name against what the patient needs; when it does not fit, choose the service that does from services and read its times with list_public_booking_slots.","properties":{"booking_url":{"description":"The page where the patient books this time.","format":"uri","type":"string"},"date":{"format":"date","type":"string"},"need":{"enum":["cleaning","exam","emergency"],"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"slot_fingerprint":{"description":"holds a connected practice's time with hold_xona_booking_slot","type":"string"},"slot_id":{"description":"books a clinic scheduler's time with choose_public_booking_time","type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["need","service_id","service_name","starts_at","start_local","time_zone"],"type":"object"},"type":"array"},"id":{"type":"string"},"locality":{"type":"string"},"match":{"description":"Present when the search carried constraints: the published facts that satisfied them.","properties":{"booking":{"description":"the matching action kind","type":"string"},"language":{"type":"string"},"new_patients":{"description":"always \"not yet verified\"","type":"string"},"open":{"additionalProperties":{"type":"string"},"description":"day → published hours text","type":"object"},"services":{"items":{"type":"string"},"type":"array"},"source_checked_at":{"description":"day of the oldest fact the match rests on, so every matched fact is at least this fresh; absent when only a live booking route matched","format":"date","type":"string"}},"type":"object"},"name":{"type":"string"},"province":{"type":"string"},"read":{"description":"Present on a live row an order=soonest search read.","properties":{"note":{"type":"string"},"outcome":{"enum":["time","none","not_read"],"type":"string"}},"required":["outcome","note"],"type":"object"},"services":{"items":{"properties":{"duration_minutes":{"type":"integer"},"name":{"type":"string"},"service_id":{"type":"string"}},"required":["service_id","name"],"type":"object"},"type":"array"},"slug":{"type":"string"},"when":{"description":"Present on an order=soonest search: why the row sits where it does.","properties":{"hours_read":{"description":"day the clinic's own site was read for its hours","format":"date","type":"string"},"next_step":{"description":"for live_schedule: the tools that read more real times and book one","type":"string"},"state":{"enum":["live_schedule","open_now","opens_today","opens_later","unknown"],"type":"string"},"text":{"description":"the list card's line, for example \"Open now until 5:00 pm\"; opening hours, not appointment times","type":"string"},"time_zone":{"description":"IANA zone the hours were read in","type":"string"}},"required":["state"],"type":"object"}},"required":["id","slug","name","canonical_profile_url","actions"],"type":"object"}}},"info":{"description":"No-login evidence-backed Canadian dental discovery and clinic-published public actions. No Xona customer or PMS data. Every MCP tool is also POST /api/public/dental-network/tools/{tool} with the tool's arguments as the JSON body.\n\nA search with order=soonest, the patient's postal code or city and the service returns live rows that already carry each clinic's earliest time, its services and booking_url, the page where the patient books that time; opening it starts the booking there, with no call in the conversation. A row's read.read_at says when its times were read, at most 5 minutes before. The tool a row's next_step names reads more times. Each earliest is only a first pick: the first service in the clinic's own list whose name holds the need's word, an adult's before a child's. Clinic service names often say more than that word: \"New Patient Exam (No Cleaning)\", a new-patient bundle of exam, x-rays and cleaning, a service for children only, a fee or insurance note. Read service_name against what the patient needs; when it does not fit, choose the service that does from services and read its times with list_public_booking_slots. Reading a clinic's services and open times needs no prepared action: list_public_booking_services and list_public_booking_slots read a clinic's own scheduler by practice_slug, list_xona_booking_services and list_xona_booking_slots a connected practice's. Every search row and every read of a clinic's times carries booking_url, the page where the patient books that clinic or that time; opening it starts the booking there. Booking at a practice that connected its schedule to Xona finishes with one text message link that the patient taps. list_xona_booking_services and list_xona_booking_slots find a service and a time. hold_xona_booking_slot takes the chosen time and the patient's mobile number, first name, last name and date of birth (and a guardian's name for a patient under 16), exactly as the patient gives them in this conversation; it holds the time and texts the patient a link. The page the link opens shows the time and the details; when the patient presses \"Book this appointment\" there, the appointment is booked, or, at a practice that confirms bookings itself, sent to the practice as a request. confirm_xona_booking then reports the result; until the press it reports waiting_for_patient. No code from a text message passes through the conversation. Every booking result has booking_steps: what is done, what the patient still has to do, and when the link expires. Every result from the hold on has continue_url, which opens the practice's booking page with the held time, for a call that fails or is refused or for a patient who prefers a browser. abandon_xona_booking releases a held time the patient no longer wants. list_xona_appointments reads the patient's appointments with a booking's action_id, for 30 minutes after the tap and for the booked appointment until its day. For appointments made any other way, or when that action_id no longer works, start_xona_appointment_access texts the patient one link; after they tap it and press \"Show my appointments\", list_xona_appointments works with its action_id. change_xona_appointment moves an appointment to a time from list_xona_reschedule_times, or cancels it: Xona texts the patient a link to a page that shows the exact change, and when they press its button the practice's schedule changes, or, at a practice that confirms changes itself, the practice receives the request. A patient whose link will not open types the code from the text themselves at book.xonark.com/code.","title":"Xona Dental Gateway Public API","version":"0.1.0"},"openapi":"3.1.0","paths":{"/.well-known/mcp/server-card.json":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"MCP server card"}},"security":[],"summary":"Public MCP server card"}},"/api/public/dental-network/actions":{"post":{"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"capability":{"enum":["public_provider_booking","public_booking_handoff","xona_email_appointment_request","external_request_form","call_clinic","visit_clinic_website"],"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"},"surface":{"enum":["ai_agent","referral"],"type":"string"}},"required":["practice_slug","capability","surface"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"limited":{"const":true,"type":"boolean"},"note":{"type":"string"},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"],"type":"object"}}},"description":"Without proof: no action, the practice's slug and a note"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Action"}}},"description":"Prepared action"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"}},"security":[],"summary":"Prepare an expiring attributed public action"}},"/api/public/dental-network/answers":{"post":{"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"practice_slugs":{"items":{"maxLength":140,"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"topic":{"enum":["identity","location","hours","services","languages","new_patients","coverage","accessibility","emergency","booking","patient_mentions"],"type":"string"}},"required":["practice_slugs","topic"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"anyOf":[{"not":{"required":["limited"]},"required":["answers"]},{"properties":{"answers":{"items":{"additionalProperties":false,"properties":{"citation_url":{"format":"uri","type":"string"},"facts":{"additionalProperties":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"type":"object"},"practice_slug":{"type":"string"},"status":{"type":"string"},"topic":{"type":"string"}},"required":["practice_slug","topic","status","facts","citation_url"],"type":"object"},"type":"array"},"limited":{"const":true}},"required":["limited","note","answers"]}],"properties":{"answers":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"}},"type":"object"}}},"description":"Evidence-grounded answers; without proof, answers from the directory record with other fields withheld, and a note"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"}},"security":[],"summary":"Answer a bounded question from practice evidence"}},"/api/public/dental-network/codes":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"action_id":{"type":"string"},"code":{"pattern":"^[0-9]{6}$","type":"string"},"phone":{"type":"string"}},"required":["code"],"type":"object"}}},"required":true},"responses":{"200":{"description":"accepted"},"400":{"description":"invalid"},"429":{"description":"locked or busy"}},"summary":"Confirm an agent link with the code from its text (typed by the patient, never by an assistant)"}},"/api/public/dental-network/practices/{slug}":{"get":{"parameters":[{"description":"Canonical Xona practice slug","in":"path","name":"slug","required":true,"schema":{"maxLength":140,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"anyOf":[{"not":{"required":["limited"]},"required":["practice","actions"]},{"properties":{"limited":{"const":true},"practice":{"additionalProperties":false,"properties":{"canonical_profile_url":{"format":"uri","type":"string"},"facts":{"additionalProperties":false,"properties":{"address":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"coordinates":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"locality":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"phone":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"postal_code":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"province":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"street_address":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"}},"type":"object"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name","canonical_profile_url","facts"],"type":"object"}},"required":["limited","note","practice"]}],"properties":{"actions":{"items":{"$ref":"#/components/schemas/Action"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"$ref":"#/components/schemas/Practice"}},"type":"object"}}},"description":"Practice profile; without proof, the practice's directory record (limited) and a note"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"}},"security":[],"summary":"Get an evidence-backed public practice profile"}},"/api/public/dental-network/practices/{slug}/counts":{"get":{"description":"Requires the practice sign-in cookie of a member of the claiming account on book.xonark.com; every other caller gets 401 or 403.","parameters":[{"description":"Canonical Xona practice slug","in":"path","name":"slug","required":true,"schema":{"maxLength":140,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"days":{"type":"string"},"events":{"additionalProperties":{"type":"integer"},"type":"object"},"practice_id":{"type":"string"},"reads":{"additionalProperties":{"type":"integer"},"type":"object"},"slug":{"type":"string"}},"required":["practice_id","slug","reads","events"],"type":"object"}}},"description":"Counts, UTC days, last 30"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Practice sign-in required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"}},"security":[],"summary":"Reads and funnel events for a claimed practice (members only)"}},"/api/public/dental-network/practices/{slug}/services":{"get":{"parameters":[{"description":"Canonical Xona practice slug","in":"path","name":"slug","required":true,"schema":{"maxLength":140,"minLength":1,"type":"string"}},{"description":"1 reads this clinic's scheduler now rather than from a read up to 5 minutes old (twice a minute per clinic)","in":"query","name":"fresh","required":false,"schema":{"enum":["1"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice_slug","readable","services","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"age_seconds":{"type":"integer"},"booking_url":{"type":"string"},"fresh_note":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice_slug":{"type":"string"},"read_at":{"format":"date-time","type":"string"},"readable":{"type":"boolean"},"services":{"items":{"properties":{"duration_minutes":{"type":"integer"},"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"use_tool":{"type":"string"}},"type":"object"}}},"description":"Clinic scheduler services"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List the services a clinic's own online scheduler offers (list_public_booking_services)"}},"/api/public/dental-network/practices/{slug}/slots":{"get":{"parameters":[{"description":"Canonical Xona practice slug","in":"path","name":"slug","required":true,"schema":{"maxLength":140,"minLength":1,"type":"string"}},{"description":"A service_id from the services endpoint","in":"query","name":"service_id","required":true,"schema":{"maxLength":160,"minLength":1,"type":"string"}},{"description":"First day, YYYY-MM-DD in the clinic's time zone; today or later","in":"query","name":"date_from","required":true,"schema":{"format":"date","type":"string"}},{"description":"Last day (inclusive), at most 13 days after date_from","in":"query","name":"date_to","required":true,"schema":{"format":"date","type":"string"}},{"description":"Preferred local start, HH:MM; the closest times come first","in":"query","name":"preferred_time","required":false,"schema":{"pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","type":"string"}},{"description":"1 reads this clinic's scheduler now rather than from a read up to 5 minutes old (twice a minute per clinic)","in":"query","name":"fresh","required":false,"schema":{"enum":["1"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice_slug","readable","slots","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"age_seconds":{"type":"integer"},"booking_url":{"type":"string"},"date_from":{"type":"string"},"date_to":{"type":"string"},"earliest":{"properties":{"booking_url":{"type":"string"},"ends_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"provider_id":{"type":"string"},"provider_name":{"type":"string"},"service_id":{"type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["id","service_id","starts_at","ends_at"],"type":"object"},"fresh_note":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice_slug":{"type":"string"},"read_at":{"format":"date-time","type":"string"},"readable":{"type":"boolean"},"service_id":{"type":"string"},"slots":{"items":{"properties":{"booking_url":{"type":"string"},"ends_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"provider_id":{"type":"string"},"provider_name":{"type":"string"},"service_id":{"type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["id","service_id","starts_at","ends_at"],"type":"object"},"type":"array"},"time_zone":{"type":"string"},"use_tool":{"type":"string"}},"type":"object"}}},"description":"Clinic scheduler open times"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List a clinic's own scheduler's open times for one service over at most 14 of the clinic's days (list_public_booking_slots)"}},"/api/public/dental-network/requests/{token}/status":{"get":{"parameters":[{"description":"Opaque expiring action token","in":"path","name":"token","required":true,"schema":{"maxLength":140,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Action"},{"not":{"required":["limited"]}}]},{"additionalProperties":false,"properties":{"action_id":{"type":"string"},"limited":{"const":true,"type":"boolean"},"note":{"type":"string"}},"required":["limited","note","action_id"],"type":"object"}],"type":"object"}}},"description":"Exact action state; without proof, the action id and a note"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"}},"security":[],"summary":"Get exact action status"}},"/api/public/dental-network/search":{"get":{"parameters":[{"description":"Name, service, language, or other supported public fact","in":"query","name":"q","required":false,"schema":{"maxLength":160,"type":"string"}},{"description":"Province filter","in":"query","name":"province","required":false,"schema":{"maxLength":40,"type":"string"}},{"description":"City or locality filter","in":"query","name":"locality","required":false,"schema":{"maxLength":100,"type":"string"}},{"description":"Postal-code filter","in":"query","name":"postal_code","required":false,"schema":{"maxLength":12,"type":"string"}},{"description":"Maximum results","in":"query","name":"limit","required":false,"schema":{"maximum":50,"minimum":1,"type":"integer"}},{"description":"A service the clinic's own site lists (cleaning, implants, invisalign, emergency, kids …)","in":"query","name":"service","required":false,"schema":{"maxLength":60,"type":"string"}},{"description":"A language the clinic's own site lists","in":"query","name":"language","required":false,"schema":{"maxLength":40,"type":"string"}},{"description":"Published hours: open that day, or closing at/after 18:00 on some day","in":"query","name":"open","required":false,"schema":{"enum":["saturday","sunday","weekend","evening"],"type":"string"}},{"description":"A route usable now: online booking page, clinic request form, a request Xona delivers, a phone number, or any","in":"query","name":"booking","required":false,"schema":{"enum":["online","form","xona_request","call","any"],"type":"string"}},{"description":"A payment plan the clinic says it accepts, on its own website or in a correction its owner made: cdcp is the Canadian Dental Care Plan. Each row quotes the clinic's own words and the day they were read","in":"query","name":"coverage","required":false,"schema":{"enum":["cdcp"],"type":"string"}},{"description":"route (default) orders by booking route; soonest orders one place's practices by when they can be seen, and needs that place: its locality (and province when the name is in more than one), or a postal_code such as M5V or M5V 1B3. Practices whose live schedule Xona reads come first, each page's read now and ordered by their earliest open time for the search's service (cleaning, exam or emergency; cleaning when none is given), then open now, then by when each opens by its own website's hours. Each row then carries when: state (live_schedule, open_now, opens_today, opens_later, unknown), text, time_zone and, for live_schedule, next_step naming the tools that read more times. Every row carries booking_url, the page where the patient books that clinic. A live row the search read also carries earliest (the time, its service_id, start_local, the id that books it and its own booking_url; [] when none in the next 7 days), services (the clinic's own list) and read (outcome time, none or not_read). live_unread counts the live clinics on later pages. Opening hours are not appointment times.","in":"query","name":"order","required":false,"schema":{"enum":["route","soonest"],"type":"string"}},{"description":"Page of results, from 1; each page holds limit rows","in":"query","name":"page","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"anyOf":[{"not":{"required":["limited"]},"required":["results","count"]},{"properties":{"limited":{"const":true}},"required":["limited","note"]}],"properties":{"count":{"minimum":0,"type":"integer"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"live_unread":{"description":"order=soonest: live clinics in the place on later pages, not read by this search","minimum":0,"type":"integer"},"next_step":{"description":"order=soonest: how to read the live clinics this page did not (its not_read rows, later pages)","type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"projection":{"description":"Present when results are PracticeRow objects.","enum":["row"],"type":"string"},"results":{"items":{"anyOf":[{"$ref":"#/components/schemas/Practice"},{"$ref":"#/components/schemas/PracticeRow"}]},"type":"array"}},"type":"object"}}},"description":"Matching practices. A verified crawler receives full Practice objects; every other client receives PracticeRow objects (projection \"row\") and reads a practice's facts from the paced profile endpoint. A search without proof answers limited and a note, with no results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"}},"security":[],"summary":"Search Canadian dental practices"}},"/api/public/dental-network/tools/abandon_xona_booking":{"post":{"description":"Release the held time and drop the patient's details when the patient no longer wants it, at any step before it is booked. It never cancels a booked appointment. Calling again returns the same result.","operationId":"abandon_xona_booking","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"}},"required":["action_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","outcome","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action_id":{"type":"string"},"appointment_start":{"format":"date-time","type":"string"},"appointment_start_local":{"type":"string"},"booking_steps":{"items":{"properties":{"patient_does":{"type":"string"},"patient_provides":{"items":{"type":"string"},"type":"array"},"status":{"enum":["done","waiting_for_patient","not_started"],"type":"string"},"step":{"type":"integer"},"tool":{"type":"string"},"xona_sends":{"properties":{"channel":{"type":"string"},"contains":{"type":"string"},"link_expires_at":{"format":"date-time","type":"string"},"to":{"type":"string"}},"required":["channel"],"type":"object"}},"required":["step","status"],"type":"object"},"type":"array"},"booking_url":{"type":"string"},"confirmation_sms":{"type":"string"},"consent_version":{"type":"string"},"continue_url":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"link_expires_at":{"format":"date-time","type":"string"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"outcome":{"type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"reason":{"type":"string"}},"type":"object"}}},"description":"Give up a booking that is not booked yet"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Give up a booking that is not booked yet","x-openai-isConsequential":true}},"/api/public/dental-network/tools/answer_dental_practice_question":{"post":{"description":"Answer a bounded factual question from the selected practices' evidence. Unknown is returned explicitly; missing data is never inferred as no.","operationId":"answer_dental_practice_question","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"practice_slugs":{"items":{"maxLength":140,"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"topic":{"enum":["identity","location","hours","services","languages","new_patients","coverage","accessibility","emergency","booking","patient_mentions"],"type":"string"}},"required":["practice_slugs","topic"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["answers"]},{"properties":{"answers":{"items":{"additionalProperties":false,"properties":{"citation_url":{"format":"uri","type":"string"},"facts":{"additionalProperties":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"type":"object"},"practice_slug":{"type":"string"},"status":{"type":"string"},"topic":{"type":"string"}},"required":["practice_slug","topic","status","facts","citation_url"],"type":"object"},"type":"array"},"limited":{"const":true}},"required":["limited","note","answers"]}],"properties":{"answers":{"items":{"type":"object"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"}},"type":"object"}}},"description":"Answer from dental practice evidence"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Answer from dental practice evidence","x-openai-isConsequential":false}},"/api/public/dental-network/tools/change_xona_appointment":{"post":{"description":"Move or cancel one of the patient's appointments. Xona texts the patient a link to a page that shows the exact change. When they press its button (or type the code from the text on book.xonark.com/code) the practice's schedule changes, or, at a practice that confirms changes itself, the practice receives the request. Calling again with the same arguments returns the result, read live from the practice's schedule.","operationId":"change_xona_appointment","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"},"appointment_ref":{"maxLength":64,"minLength":8,"type":"string"},"date":{"description":"For a reschedule: the new time's date exactly as list_xona_reschedule_times returned it","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"kind":{"enum":["cancel","reschedule"],"type":"string"},"slot_fingerprint":{"description":"For a reschedule: the new time's slot_fingerprint from list_xona_reschedule_times","pattern":"^[0-9a-f]{32}$","type":"string"}},"required":["action_id","appointment_ref","kind"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","appointment_ref","state","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action_id":{"type":"string"},"appointment_ref":{"type":"string"},"appointment_start_local":{"type":"string"},"kind":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"link_expires_at":{"format":"date-time","type":"string"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"requested_start_local":{"type":"string"},"state":{"type":"string"}},"type":"object"}}},"description":"Ask to move or cancel an appointment"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Ask to move or cancel an appointment","x-openai-isConsequential":true}},"/api/public/dental-network/tools/choose_public_booking_time":{"post":{"description":"For a public_provider_booking action: keeps one time from list_public_booking_slots (or a soonest search row's earliest) and returns continue_url, Xona's page where the patient enters their own details and presses Book. Xona then books that time in the clinic's own scheduler. It takes the action and the time (service_id, slot_id, starts_at) only, reads that time again and keeps it only if it is still open; the page collects the patient's details.","operationId":"choose_public_booking_time","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"},"service_id":{"description":"The chosen time's service_id.","maxLength":160,"minLength":1,"type":"string"},"slot_id":{"description":"The chosen time's id from list_public_booking_slots (slot_id on a soonest row's earliest).","maxLength":256,"minLength":1,"type":"string"},"starts_at":{"description":"The chosen time's starts_at, exactly as returned.","format":"date-time","maxLength":64,"type":"string"}},"required":["action_id","service_id","slot_id","starts_at"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["booking","continue_url","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"booking":{"properties":{"action_id":{"type":"string"},"continue_url":{"type":"string"},"practice_slug":{"type":"string"},"provider":{"type":"string"},"service":{"type":"string"},"stage":{"type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["action_id","practice_slug","service","starts_at","start_local","stage"],"type":"object"},"continue_url":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"}},"type":"object"}}},"description":"Choose a time to book at a clinic"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Choose a time to book at a clinic","x-openai-isConsequential":true}},"/api/public/dental-network/tools/confirm_dental_request":{"post":{"description":"Report a started request's status. It never sends: waiting_for_patient until the patient presses \"Send this request\" on Xona's page, then the stored result: sent, delivery unknown or failed, expired, or stopped by the patient. A sent request is never a confirmed booking.","operationId":"confirm_dental_request","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"}},"required":["action_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action","outcome","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action":{"type":"object"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"outcome":{"type":"string"},"receipt_url":{"type":"string"}},"type":"object"}}},"description":"Check a dental appointment request"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Check a dental appointment request","x-openai-isConsequential":false}},"/api/public/dental-network/tools/confirm_xona_booking":{"post":{"description":"Get the result once the patient has tapped the text link and pressed Book this appointment. Until then it returns waiting_for_patient. Xona finds an existing patient itself; when it cannot tell, it returns the practice's booking page instead of guessing. If the booking stopped before it was written, the first call tries it once more. Calling again returns the same outcome.","operationId":"confirm_xona_booking","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"}},"required":["action_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","outcome","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action_id":{"type":"string"},"appointment_start":{"format":"date-time","type":"string"},"appointment_start_local":{"type":"string"},"booking_steps":{"items":{"properties":{"patient_does":{"type":"string"},"patient_provides":{"items":{"type":"string"},"type":"array"},"status":{"enum":["done","waiting_for_patient","not_started"],"type":"string"},"step":{"type":"integer"},"tool":{"type":"string"},"xona_sends":{"properties":{"channel":{"type":"string"},"contains":{"type":"string"},"link_expires_at":{"format":"date-time","type":"string"},"to":{"type":"string"}},"required":["channel"],"type":"object"}},"required":["step","status"],"type":"object"},"type":"array"},"booking_url":{"type":"string"},"confirmation_sms":{"type":"string"},"consent_version":{"type":"string"},"continue_url":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"link_expires_at":{"format":"date-time","type":"string"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"outcome":{"type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"reason":{"type":"string"}},"type":"object"}}},"description":"Get the booking's result"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Get the booking's result","x-openai-isConsequential":true}},"/api/public/dental-network/tools/get_canadian_dental_practice":{"post":{"description":"Get one public dental practice profile, fact evidence, citations, and current public actions.","operationId":"get_canadian_dental_practice","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice","actions"]},{"properties":{"limited":{"const":true},"practice":{"additionalProperties":false,"properties":{"canonical_profile_url":{"format":"uri","type":"string"},"facts":{"additionalProperties":false,"properties":{"address":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"coordinates":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"locality":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"phone":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"postal_code":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"province":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"},"street_address":{"properties":{"status":{"type":"string"},"value":{},"values":{"type":"array"}},"required":["status"],"type":"object"}},"type":"object"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name","canonical_profile_url","facts"],"type":"object"}},"required":["limited","note","practice"]}],"properties":{"actions":{"items":{"type":"object"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"type":"object"}},"type":"object"}}},"description":"Get a Canadian dental practice"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Get a Canadian dental practice","x-openai-isConsequential":false}},"/api/public/dental-network/tools/get_dental_action_status":{"post":{"description":"Read the exact outcome of an expiring dental action. Handoff, request, and confirmed booking outcomes remain distinct.","operationId":"get_dental_action_status","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"}},"required":["action_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action":{"type":"object"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"}},"type":"object"}}},"description":"Get dental action status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Get dental action status","x-openai-isConsequential":false}},"/api/public/dental-network/tools/hold_xona_booking_slot":{"post":{"description":"Hold one open time and text the patient a link to it. The page the link opens shows the time and the details above a Book this appointment button. When the patient presses it the appointment is booked, or, at a practice that confirms bookings itself, sent to the practice as a request.","operationId":"hold_xona_booking_slot","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"date":{"description":"The chosen slot's date exactly as list_xona_booking_slots returned it","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"date_of_birth":{"description":"The patient's date of birth, as the patient gave it in this conversation","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"first_name":{"description":"The patient's first name, as the patient gave it in this conversation","maxLength":60,"minLength":1,"type":"string"},"guardian_name":{"description":"Required when the patient is under 16","maxLength":120,"type":"string"},"last_name":{"description":"The patient's last name, as the patient gave it in this conversation","maxLength":60,"minLength":1,"type":"string"},"note":{"maxLength":500,"type":"string"},"patient_phone":{"description":"The patient's own Canadian or US mobile number, as the patient gave it in this conversation; the booking link is texted there","maxLength":32,"minLength":7,"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"},"service_id":{"maxLength":160,"minLength":1,"type":"string"},"slot_fingerprint":{"pattern":"^[0-9a-f]{32}$","type":"string"}},"required":["practice_slug","service_id","slot_fingerprint","date","patient_phone","first_name","last_name","date_of_birth"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"action_id":{"type":"string"},"booking_steps":{"items":{"properties":{"patient_does":{"type":"string"},"patient_provides":{"items":{"type":"string"},"type":"array"},"status":{"enum":["done","waiting_for_patient","not_started"],"type":"string"},"step":{"type":"integer"},"tool":{"type":"string"},"xona_sends":{"properties":{"channel":{"type":"string"},"contains":{"type":"string"},"link_expires_at":{"format":"date-time","type":"string"},"to":{"type":"string"}},"required":["channel"],"type":"object"}},"required":["step","status"],"type":"object"},"type":"array"},"booking_url":{"type":"string"},"continue_url":{"type":"string"},"hold_expires_at":{"format":"date-time","type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"link_expires_at":{"format":"date-time","type":"string"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"outcome":{"type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"reason":{"type":"string"},"verification":{"type":"string"}},"type":"object"}}},"description":"Hold an open time and text the patient a link"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Hold an open time and text the patient a link","x-openai-isConsequential":true}},"/api/public/dental-network/tools/list_dental_practice_actions":{"post":{"description":"List current public booking, request, form, call, and website actions for a dental practice in preference order.","operationId":"list_dental_practice_actions","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice_slug","actions"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"actions":{"items":{"type":"object"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice_slug":{"type":"string"}},"type":"object"}}},"description":"List dental practice actions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List dental practice actions","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_public_booking_services":{"post":{"description":"Read the services a clinic's own online scheduler offers, by practice_slug: a clinic whose search row is live_schedule, or whose action option has reads_times. The answer carries booking_url, the page where the patient books this clinic; a clinic whose scheduler can't be read answers readable false with that booking_url. 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). Provider locators remain server-owned.","operationId":"list_public_booking_services","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"fresh":{"description":"Read this clinic's scheduler now rather than from a read up to 5 minutes old","type":"boolean"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice_slug","readable","services","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"age_seconds":{"type":"integer"},"booking_url":{"type":"string"},"fresh_note":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice_slug":{"type":"string"},"read_at":{"format":"date-time","type":"string"},"readable":{"type":"boolean"},"services":{"items":{"properties":{"duration_minutes":{"type":"integer"},"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"use_tool":{"type":"string"}},"type":"object"}}},"description":"List a clinic's public booking services"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List a clinic's public booking services","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_public_booking_slots":{"post":{"description":"Read 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).","operationId":"list_public_booking_slots","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"Read at most 14 days of availability, starting no more than 180 days ahead.","properties":{"date_from":{"description":"First day to read, in the clinic's time zone; today or later","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"date_to":{"description":"Last day to read (inclusive), at most 13 days after date_from","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"fresh":{"description":"Read this clinic's scheduler now rather than from a read up to 5 minutes old","type":"boolean"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"},"preferred_time":{"description":"The patient's preferred local start time, 24-hour HH:MM; the closest times come first","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","type":"string"},"service_id":{"description":"A service_id from list_public_booking_services, or from a soonest search row's services","maxLength":160,"minLength":1,"type":"string"}},"required":["practice_slug","service_id","date_from","date_to"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice_slug","readable","slots","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"age_seconds":{"type":"integer"},"booking_url":{"type":"string"},"date_from":{"type":"string"},"date_to":{"type":"string"},"earliest":{"properties":{"booking_url":{"type":"string"},"ends_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"provider_id":{"type":"string"},"provider_name":{"type":"string"},"service_id":{"type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["id","service_id","starts_at","ends_at"],"type":"object"},"fresh_note":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice_slug":{"type":"string"},"read_at":{"format":"date-time","type":"string"},"readable":{"type":"boolean"},"service_id":{"type":"string"},"slots":{"items":{"properties":{"booking_url":{"type":"string"},"ends_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"provider_id":{"type":"string"},"provider_name":{"type":"string"},"service_id":{"type":"string"},"start_local":{"type":"string"},"starts_at":{"format":"date-time","type":"string"},"time_zone":{"type":"string"}},"required":["id","service_id","starts_at","ends_at"],"type":"object"},"type":"array"},"time_zone":{"type":"string"},"use_tool":{"type":"string"}},"type":"object"}}},"description":"List a clinic's public booking slots"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List a clinic's public booking slots","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_xona_appointments":{"post":{"description":"Read the named patient's upcoming appointments at the practice, live from its schedule, after the patient tapped the text link. Works with the action_id of a booking made in this conversation (for 30 minutes after the tap, and for that appointment until its day) or of start_xona_appointment_access. Before the tap it says it is still waiting.","operationId":"list_xona_appointments","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"}},"required":["action_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","status","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"access_expires_at":{"format":"date-time","type":"string"},"action_id":{"type":"string"},"appointments":{"items":{"properties":{"appointment_ref":{"type":"string"},"cancel":{"type":"string"},"change_note":{"type":"string"},"provider":{"type":"string"},"reschedule":{"type":"string"},"service":{"type":"string"},"start":{"format":"date-time","type":"string"},"start_local":{"type":"string"}},"required":["appointment_ref","start","start_local","cancel","reschedule"],"type":"object"},"type":"array"},"booked_until":{"format":"date-time","type":"string"},"changes":{"items":{"properties":{"appointment_ref":{"type":"string"},"kind":{"type":"string"},"next_step":{"type":"string"},"state":{"type":"string"}},"required":["appointment_ref","kind","state"],"type":"object"},"type":"array"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"pending_requests":{"items":{"properties":{"appointment_ref":{"type":"string"},"status":{"type":"string"}},"required":["status"],"type":"object"},"type":"array"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"status":{"type":"string"},"time_zone":{"type":"string"}},"type":"object"}}},"description":"List the patient's upcoming appointments"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List the patient's upcoming appointments","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_xona_booking_services":{"post":{"description":"List the services a practice that connected its schedule to Xona books online. Use it where list_dental_practice_actions marks the Xona booking route as completes_in_conversation.","operationId":"list_xona_booking_services","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice","services","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"services":{"items":{"properties":{"name":{"type":"string"},"service_id":{"type":"string"}},"required":["service_id","name"],"type":"object"},"type":"array"}},"type":"object"}}},"description":"List a connected practice's booking services"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List a connected practice's booking services","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_xona_booking_slots":{"post":{"description":"List open times at a connected practice for one service between date_from and date_to (inclusive, at most 8 weeks out). Returns the closest ten to preferred_time (else a balanced spread) plus the earliest open time, with a reason when empty. Each slot has a slot_fingerprint and date for hold_xona_booking_slot.","operationId":"list_xona_booking_slots","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"date_from":{"description":"First day to search, in the practice's time zone","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"date_to":{"description":"Last day to search (inclusive); at most 56 days after date_from and 8 weeks from today","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"doctor_id":{"description":"Restrict to one provider, using a doctor_id a previous slot listing returned","maxLength":160,"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"},"preferred_time":{"description":"The patient's preferred local start time, 24-hour HH:MM; slots closest to it come first","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","type":"string"},"service_id":{"maxLength":160,"minLength":1,"type":"string"}},"required":["practice_slug","service_id","date_from","date_to"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["practice","service_id","effective_from","effective_to","time_zone","slots","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"booking_url":{"type":"string"},"date_correction":{"properties":{"effective_from":{"type":"string"},"effective_to":{"type":"string"},"past_corrected":{"type":"boolean"},"requested_from":{"type":"string"},"requested_to":{"type":"string"},"swapped":{"type":"boolean"},"today":{"type":"string"}},"type":"object"},"earliest":{"properties":{"date":{"type":"string"},"display":{"type":"string"},"doctor_id":{"type":"string"},"end":{"format":"date-time","type":"string"},"provider":{"type":"string"},"slot_fingerprint":{"type":"string"},"start":{"format":"date-time","type":"string"},"time":{"type":"string"}},"required":["slot_fingerprint","date","time","display","start","end"],"type":"object"},"effective_from":{"type":"string"},"effective_to":{"type":"string"},"instructions":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"reason":{"type":"string"},"service_id":{"type":"string"},"slots":{"items":{"properties":{"date":{"type":"string"},"display":{"type":"string"},"doctor_id":{"type":"string"},"end":{"format":"date-time","type":"string"},"provider":{"type":"string"},"slot_fingerprint":{"type":"string"},"start":{"format":"date-time","type":"string"},"time":{"type":"string"}},"required":["slot_fingerprint","date","time","display","start","end"],"type":"object"},"type":"array"},"time_zone":{"type":"string"}},"type":"object"}}},"description":"List a connected practice's open times"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List a connected practice's open times","x-openai-isConsequential":false}},"/api/public/dental-network/tools/list_xona_reschedule_times":{"post":{"description":"List open times one of the patient's appointments can move to, for its own service and provider, between date_from and date_to. appointment_ref comes from list_xona_appointments.","operationId":"list_xona_reschedule_times","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"action_id":{"maxLength":128,"minLength":16,"type":"string"},"appointment_ref":{"maxLength":64,"minLength":8,"type":"string"},"date_from":{"description":"First day to search, in the practice's time zone","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"date_to":{"description":"Last day to search (inclusive); at most 56 days after date_from and 8 weeks from today","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"}},"required":["action_id","appointment_ref","date_from","date_to"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","appointment_ref","time_zone","slots","next_step"]},{"properties":{"action_id":{"type":"string"},"limited":{"const":true}},"required":["limited","note","action_id"]}],"properties":{"action_id":{"type":"string"},"appointment_ref":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"slots":{"items":{"properties":{"date":{"type":"string"},"display":{"type":"string"},"end":{"format":"date-time","type":"string"},"provider":{"type":"string"},"slot_fingerprint":{"type":"string"},"start":{"format":"date-time","type":"string"}},"required":["slot_fingerprint","date","display","start","end"],"type":"object"},"type":"array"},"time_zone":{"type":"string"}},"type":"object"}}},"description":"List times an appointment can move to"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"List times an appointment can move to","x-openai-isConsequential":false}},"/api/public/dental-network/tools/prepare_dental_practice_action":{"post":{"description":"Creates a short-lived action for one capability the clinic's action options list (its scheduler page, a Xona request, a request form, a call or its website) and returns the URL of the page for it. A capability the clinic does not list is refused. A connected practice's time from list_xona_booking_slots is held with hold_xona_booking_slot, not through this tool.","operationId":"prepare_dental_practice_action","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"capability":{"enum":["public_provider_booking","public_booking_handoff","xona_email_appointment_request","external_request_form","call_clinic","visit_clinic_website"],"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug","capability"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action","manual_review_required","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"action":{"type":"object"},"conversational_next_tool":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"manual_review_required":{"type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"}},"type":"object"}}},"description":"Open one of a clinic's booking routes"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Open one of a clinic's booking routes","x-openai-isConsequential":true}},"/api/public/dental-network/tools/search_canadian_dentists":{"post":{"description":"Search evidence-backed public profiles in the Canadian dental directory by name or place, and filter by a service, a language, published weekend or evening hours, a booking route you can use now, and a payment plan the clinic says it accepts (the Canadian Dental Care Plan). Each row says which published fact matched and when it was read. A search with order=soonest, the patient's postal code or city and the service returns live rows that already carry each clinic's earliest time, its services and booking_url, the page where the patient books that time; opening it starts the booking there, with no call in the conversation. A row's read.read_at says when its times were read, at most 5 minutes before. The tool a row's next_step names reads more times. Each earliest is only a first pick: the first service in the clinic's own list whose name holds the need's word, an adult's before a child's. Clinic service names often say more than that word: \"New Patient Exam (No Cleaning)\", a new-patient bundle of exam, x-rays and cleaning, a service for children only, a fee or insurance note. Read service_name against what the patient needs; when it does not fit, choose the service that does from services and read its times with list_public_booking_slots. No login or clinic membership is required.","operationId":"search_canadian_dentists","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"booking":{"description":"A route the agent can use now: the clinic's online booking page, its request form, an appointment request Xona delivers, a phone number, or any of these","enum":["online","form","xona_request","call","any"],"type":"string"},"coverage":{"description":"A payment plan the clinic says it accepts, on its own website or in a correction its owner made: cdcp is the Canadian Dental Care Plan. Each row quotes the clinic's own words and the day they were read","enum":["cdcp"],"type":"string"},"language":{"description":"A language the clinic's own site lists","maxLength":40,"type":"string"},"limit":{"maximum":50,"minimum":1,"type":"integer"},"locality":{"maxLength":100,"type":"string"},"open":{"description":"Published hours: open that day, or closing at/after 18:00 on some day","enum":["saturday","sunday","weekend","evening"],"type":"string"},"order":{"description":"route (default) orders by booking route; soonest orders one place's practices by when they can be seen, and needs that place: its locality (and province when the name is in more than one), or a postal_code such as M5V or M5V 1B3. Practices whose live schedule Xona reads come first, each page's read now and ordered by their earliest open time for the search's service (cleaning, exam or emergency; cleaning when none is given), then open now, then by when each opens by its own website's hours. Each row then carries when: state (live_schedule, open_now, opens_today, opens_later, unknown), text, time_zone and, for live_schedule, next_step naming the tools that read more times. Every row carries booking_url, the page where the patient books that clinic. A live row the search read also carries earliest (the time, its service_id, start_local, the id that books it and its own booking_url; [] when none in the next 7 days), services (the clinic's own list) and read (outcome time, none or not_read). live_unread counts the live clinics on later pages. Opening hours are not appointment times.","enum":["route","soonest"],"type":"string"},"page":{"description":"Page of results, from 1; each page holds limit rows","maximum":200,"minimum":1,"type":"integer"},"postal_code":{"maxLength":12,"type":"string"},"province":{"maxLength":40,"type":"string"},"query":{"maxLength":160,"type":"string"},"service":{"description":"A service the clinic's own site lists: cleaning, implants, invisalign, emergency, kids, root canal, whitening …","maxLength":60,"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["results","count"]},{"properties":{"limited":{"const":true}},"required":["limited","note"]}],"properties":{"count":{"type":"integer"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"live_unread":{"type":"integer"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"projection":{"enum":["row"],"type":"string"},"results":{"items":{"type":"object"},"type":"array"}},"type":"object"}}},"description":"Search Canadian dentists"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Search Canadian dentists","x-openai-isConsequential":false}},"/api/public/dental-network/tools/start_dental_request":{"post":{"description":"Start an appointment request for Xona to send to the selected clinic (by email, or through the clinic's own website form). It takes the patient's details and preferred times. Xona emails the patient a link that shows the exact request; the request goes to the clinic only when the patient presses \"Send this request\" there, or enters the email's code on continue_url. The result carries consent_text and continue_url; confirm_dental_request reports the status. Use it where list_dental_practice_actions marks xona_email_appointment_request as completes_in_conversation.","operationId":"start_dental_request","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"note":{"maxLength":500,"type":"string"},"patient_email":{"description":"The patient's own email; the link to send the request goes there","format":"email","maxLength":254,"minLength":3,"type":"string"},"patient_name":{"description":"The patient's name as they typed it","maxLength":120,"minLength":1,"type":"string"},"patient_phone":{"description":"The patient's phone as they typed it; required when the clinic's website form needs one","maxLength":32,"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"},"preferred_window":{"description":"When the patient is free, in their words","maxLength":160,"minLength":1,"type":"string"},"service_category":{"enum":["checkup_cleaning","children","cosmetic","implants","new_patient","orthodontics","other","tooth_pain"],"type":"string"}},"required":["practice_slug","patient_name","patient_email","service_category","preferred_window"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action","practice","verification","consent_version","consent_text","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"action":{"type":"object"},"consent_text":{"type":"string"},"consent_version":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"verification":{"type":"string"}},"type":"object"}}},"description":"Start a dental appointment request"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Start a dental appointment request","x-openai-isConsequential":true}},"/api/public/dental-network/tools/start_xona_appointment_access":{"post":{"description":"Text a patient one link to see, move or cancel the appointments they already have at a practice connected to Xona, for a conversation with no booking action_id that still works. If the mobile number, name and date of birth match a patient there, Xona texts them the link; after they tap it and press Show my appointments, list_xona_appointments reads their appointments. The answer is the same whether or not the details match.","operationId":"start_xona_appointment_access","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"date_of_birth":{"format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"first_name":{"maxLength":60,"minLength":1,"type":"string"},"last_name":{"maxLength":60,"minLength":1,"type":"string"},"patient_phone":{"description":"The patient's own Canadian or US mobile number, as the practice has it on file","maxLength":32,"minLength":7,"type":"string"},"practice_slug":{"maxLength":140,"minLength":1,"type":"string"}},"required":["practice_slug","patient_phone","first_name","last_name","date_of_birth"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"not":{"required":["limited"]},"required":["action_id","practice","status","link_expires_at","next_step"]},{"properties":{"limited":{"const":true},"practice_slug":{"type":"string"}},"required":["limited","note","practice_slug"]}],"properties":{"action_id":{"type":"string"},"limited":{"const":true,"description":"Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.","type":"boolean"},"link_expires_at":{"format":"date-time","type":"string"},"next_step":{"type":"string"},"note":{"description":"On a limited answer: where a person sees the full page, and how an AI tool gets full facts.","type":"string"},"practice":{"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"status":{"type":"string"}},"type":"object"}}},"description":"Text the patient a link to show their appointments"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request or action state"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Public write is disabled, or not a member of the claiming account"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental resource not found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Dental action expired"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider is unavailable"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Gateway temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Clinic booking provider timed out"}},"security":[],"summary":"Text the patient a link to show their appointments","x-openai-isConsequential":true}},"/auth.md":{"get":{"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"Agent-readable authentication guide"}},"security":[],"summary":"No-login boundary and discovery guide"}},"/mcp":{"post":{"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"JSON-RPC response"},"202":{"description":"JSON-RPC notification accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JSONRPCError"}}},"description":"Invalid JSON-RPC request"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JSONRPCError"}}},"description":"Request body too large"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Rate limit exceeded"}},"security":[],"summary":"Public Xona Dental Gateway Streamable HTTP MCP endpoint"}}},"servers":[{"url":"https://book.xonark.com"}]}
