Set open hours
set_open_hoursReplace the workspace's weekly open hours, in its time zone. They decide when calls and texts are handled as after hours. Send every open day; a day left out is closed. Admins only. Ask the user to confirm before calling this tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_open_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| friday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| monday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| sunday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| tuesday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| saturday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| thursday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| wednesday | No | This day's hours: open with start_time and end_time (24-hour HH:MM); leave out to close the day | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. |