create_event
Create school events for parents by specifying date, time, location, tickets, and capacity. Requires coordinator access and explicit user confirmation before the event is saved.
Instructions
ADMIN: Creates a school event. Requires pac_cordinator or event_cordinator role. This is a WRITE operation - confirm details with the user before creating. Do not create events without explicit user request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event name shown to parents | |
| ends_at | No | End time (e.g. 20:00) | |
| location | No | Event location (e.g. Gymnasium) | |
| starts_at | No | Start time (e.g. 18:30) | |
| event_date | Yes | Event date, YYYY-MM-DD | |
| description | No | Optional event description | |
| school_slug | No | School slug (defaults to active school) | |
| max_capacity | No | Maximum attendees/tickets; omit for unlimited | |
| ticket_price_cents | No | Ticket price in cents (0 = free) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| status | No | ||
| eventDate | No |