Set a booking option's hours
set_booking_option_hoursChoose which booking hours a booking option follows, or null to use its hosts' own availability. Changes when customers can book it right away. Ids come from list_booking_options and list_booking_hours. 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": {
"booking_option_id": "<booking_option_id>",
"booking_hours_id": "<booking_hours_id>"
},
"name": "set_booking_option_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| booking_hours_id | Yes | Booking hours id from list_booking_hours, or null to use the hosts' own availability | |
| booking_option_id | Yes | Booking option id from list_booking_options |