Update working hours
update_working_hoursSet the business hours of an inbox: one entry per weekday (0 = Sunday … 6 = Saturday), each either closed_all_day, open_all_day, or an open/close time. Send all seven days — the schedule replaces the previous one. Pair it with update_inbox working_hours_enabled to actually apply the schedule, and with out_of_office_message for what customers see outside them.
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": {
"inbox_id": "<inbox_id>",
"working_hours": "<working_hours>"
},
"name": "update_working_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | ||
| working_hours | Yes |