Update School Event (Admin)
update_school_eventPartially update an existing school event by changing only provided fields. Use for reschedules, capacity or price changes, and status transitions like cancelled or completed.
Instructions
ADMIN: Partially updates an existing school event - only the provided fields change; omitted fields keep their current values. Use for reschedules, capacity or price changes, and status transitions (cancelled/completed). Prefer cancel_school_event to cancel outright. Requires pac_cordinator or event_cordinator role. WRITE operation - confirm changes with the user. Get event_id from list_school_events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New event name | |
| status | No | Event status - cancelled stops sales, completed closes the event | |
| ends_at | No | End time (e.g. 20:00) | |
| event_id | Yes | Event ID - from list_school_events | |
| location | No | Event location (e.g. Gymnasium) | |
| starts_at | No | Start time (e.g. 18:30) | |
| event_date | No | Event date, YYYY-MM-DD | |
| description | No | New event description shown to parents | |
| max_capacity | No | Maximum number of attendees/tickets | |
| ticket_price_cents | No | Ticket price in cents; 0 for free events |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Event ID | |
| name | No | Event name | |
| status | No | Event status after the update | |
| eventDate | No | Event date, YYYY-MM-DD |