Create School Event (Admin)
create_school_eventCreate a school event with date, time, location, and optional ticketing (price, capacity) for the active school. Requires event coordinator access.
Instructions
ADMIN: Creates a school event, optionally ticketed, at the active school. To change an existing event use update_school_event; to register a parent for an event use register_for_event. Requires pac_cordinator or event_cordinator role. WRITE - only create on 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 | Event ID | |
| name | No | Event name | |
| status | No | Event status (e.g. active) | |
| eventDate | No | Event date, YYYY-MM-DD |