update_event
Partially update a school event by changing only provided fields; omitted fields stay unchanged. Use for reschedules, capacity/price changes, or status transitions like cancelled/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_event to cancel outright. Requires pac_cordinator or event_cordinator role. WRITE operation — confirm changes with the user. Get event_id from get_upcoming_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 get_upcoming_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 | ||
| name | No | ||
| status | No | ||
| eventDate | No |