Replace opening hours
update_business_hoursReplaces the whole week of opening hours. Send every day that should be open; any day you leave out becomes closed. Read the current hours with get_business first and change only what the owner asked for. Times are in the business time zone. Returns the updated business.
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": {
"hours": "<hours>"
},
"name": "update_business_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | One entry per opening window. A day with a break, such as lunch, has two entries. An empty list closes the business every day. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable identifier (UUID). | |
| name | Yes | ||
| hours | Yes | ||
| locale | Yes | Default language for callers: en, fr, es, sr (Serbian, Latin script), de, pt (Brazilian Portuguese), it, nl, pl, tr, vi, tl (Tagalog), sv, ru or uk. | |
| timezone | Yes | IANA time zone, for example America/Toronto. | |
| created_at | Yes | ISO 8601 timestamp in UTC. | |
| updated_at | Yes | ISO 8601 timestamp in UTC. | |
| website_url | Yes | ||
| booking_mode | Yes | instant: appointments are booked directly. request: the receptionist takes a request and the team confirms it. off: no booking. | |
| business_type | Yes | What kind of business it is. The dashboard uses service_company. | |
| onboarding_stage | Yes | Where the business is in onboarding, for example website, phone_number or complete. |