Set working hours
owner_set_scheduleOnly for business owners signed in to Awning. Replace weekly hours of the business, or of one staff member/room with resource_id. Existing bookings are kept. Use it for the regular weekly pattern; for a one-off day off or extra hours use owner_block_time. The hours sent replace all the old ones, so send the whole week.
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": "owner_set_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | Local, 24-hour: [{"days":"mon-sat","open":"09:00","close":"18:00"}]; days also "daily", ["tue","thu"]; a break is two ranges | |
| business_id | No | Which business, when the owner runs several: business_id from owner_status. Leave out when there is only one. | |
| resource_id | No | Only this staff member, room or rental pool: an id from owner_get_schedule. Leave out for the whole business. |