Change a practice's website settings
update_website_settingsUse this when someone asks to change their practice's website colours, social links, WhatsApp number, external website or online booking window. Returns the settings as saved and which changed; they show on the public site at once. Not for the subdomain, custom domain, logo or banner, which change in the DodoDentist app.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clinicId": "<clinicId>",
"expectedLastEditTime": "<expectedLastEditTime>"
},
"name": "update_website_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clinicId | Yes | Practice id, from list_clinics | |
| No | Facebook page or profile, as a handle or a link; null removes it | ||
| No | WhatsApp number patients can write to, with the country code; null removes it | ||
| No | Instagram profile, as a handle or a link; null removes it | ||
| primaryColor | No | Main colour as #rrggbb; null goes back to DodoDentist's | |
| secondaryColor | No | Accent colour as #rrggbb; null goes back to DodoDentist's | |
| externalWebsiteUrl | No | The practice's own website address; null removes it | |
| hostedByDododentist | No | True for the website DodoDentist hosts; false when the practice has its own website elsewhere and uses DodoDentist for booking | |
| expectedLastEditTime | Yes | The lastEditTime from get_website_settings. A practice changed since then is refused. | |
| minimumBookingNotice | No | How soon before a slot patients can still book online | |
| maximumAdvanceBooking | No | How far ahead patients can book online |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| settings | Yes | ||
| changedFields | Yes |