calendar_upsert_events
Upsert multiple calendar events at once, keyed on UID or key, so re-running a list updates in place without duplicates.
Instructions
Create or update many events at once, keyed on uid (or on key).
Use this for bulk work (a release calendar for a whole season). Each
entry is created if its identity is new and updated if it already
exists, so re-running the same list updates in place instead of
duplicating. Identity comes from event_uid/uid, or from key: a
short stable slug ("wuwa-3.7-banner-1") that is hashed into a uid, so
a scheduled agent can re-publish its list without storing uids.
Args:
events: List of event objects. Each accepts the arguments of
calendar_create_event (title, start_datetime, end_datetime,
all_day, description, location, categories, color,
recurrence_rule) plus the identity fields event_uid/uid or
key. calendar_name may be set per entry to spread the list
across calendars. Entries with no identity always create new
events.
calendar_name: Default calendar for entries that do not name one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| calendar_name | No |