Update Event (calendar patch)
update_eventMUTATES one existing calendar event the authenticated user owns. Required: event_id (UUID). Optional patch (same fields as log_event): title, date / event_date, time / event_time, end_date, end_time, location, description, category, external_url, people / with / person_ids. Unknown or other-user event_id returns an error and does not create a row. For food-diary meals, prefer update_food (it syncs the mirrored event). Rebuilds life_state. Requires API key or OAuth with scope context. Share tokens cannot write. ($0.10; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Alias for event_date. | |
| time | No | Alias for event_time. | |
| with | No | Alias for people. | |
| title | No | Updated title (replaces). Cannot be empty. | |
| people | No | People names or person UUIDs to add (event_people role=with). Does not remove existing tags. | |
| category | No | e.g. funeral, family, work, travel. Stored as events.category and event_type. | |
| end_date | No | Optional end date YYYY-MM-DD (all-day multi-day). | |
| end_time | No | Optional end time (same formats as event_time). | |
| event_id | Yes | UUID of a calendar event the authenticated user owns | |
| location | No | Empty or null clears | |
| event_date | No | Start date YYYY-MM-DD. Alias: date. | |
| event_time | No | Start time: 8pm, 20:00, or 20:00:00. Empty or null clears. Alias: time. | |
| person_ids | No | Owned person UUIDs to tag (user-scoped). | |
| description | No | Empty or null clears | |
| person_name | No | ||
| external_url | No | ||
| people_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | A Dayze calendar event record. | |
| changed | Yes | Changed fields with before and after values. | |
| people_tagged | Yes | ||
| unresolved_people | Yes | ||
| life_state_rebuilt | Yes |