create_service_schedule
Create a bookable schedule window for a service, including recurring weekly/daily availability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Start date or one-off date (YYYY-MM-DD) | |
| notes | No | Free-form notes | |
| endTime | Yes | HH:MM (24h) | |
| staffId | No | Optional companyMembers.id to bind this schedule to staff | |
| byWeekday | No | Weekdays for weekly recurrence: 0=Mon, 1=Tue, ... 6=Sun | |
| serviceId | Yes | Service ID | |
| startTime | Yes | HH:MM (24h) | |
| recurrence | No | Default none | |
| resourceId | No | Optional resource ID to bind this schedule to a room/resource | |
| maxCapacity | No | Max bookings per generated slot | |
| recurrenceEndDate | No | YYYY-MM-DD | |
| recurrenceInterval | No | Default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |