Create booking hours
create_booking_hoursCreate a booking-hours schedule with weekly hours and any closed dates. It does nothing until a booking option uses it (set_booking_option_hours). Returns the new schedule with its id. Needs an admin, or a role allowed to change this.
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": {
"name": "<name>",
"time_zone": "<time_zone>"
},
"name": "create_booking_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name the team will recognize, e.g. Test drive hours | |
| time_zone | Yes | IANA time zone the hours are in, e.g. America/Chicago | |
| weekly_hours | No | Regular weekly hours; add several entries for different days or split shifts | |
| 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. | |
| date_overrides | No | Holidays and special days; leave the times out to close that whole day |