Class timetable
owner_upsert_sessionsOnly for business owners signed in to Awning. Set when a class runs; future classes are generated for the booking horizon. Use it for a class (sessions-mode offering) whose weekly timetable changes; the timetable sent replaces the class's old weekly pattern, so send all of it; classes already generated are kept. Not for appointments or rentals (owner_set_schedule sets their hours).
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": {
"offering_id": "<offering_id>",
"schedule": "<schedule>"
},
"name": "owner_upsert_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | Yes | The weekly timetable: each entry is a day pattern and a start time | |
| business_id | No | Which business, when the owner runs several: business_id from owner_status. Leave out when there is only one. | |
| offering_id | Yes | The class: offerings[].offering_id of a sessions-mode offering |