ofw_list_events
List OurFamilyWizard calendar events, custody handoffs, and daily custody grids for a date range; filter by item types or export results as iCalendar text.
Instructions
List OurFamilyWizard calendar items in a date range: events, connected (subscribed outside-calendar) events, custody handoffs (TRANSITION) and the per-day custody grid (guardianData, type SCHEDULE). Pass types to keep only some of them — the custody grid is most of a response's weight, so leave SCHEDULE out unless you need who-has-the-children per day. Times are OFW wall clock in the account's zone, rendered with an offset in timeZone (default: the server's DISPLAY_TZ). format:"ics" returns an iCalendar (.ics) text you can show or save — events, all-day events, and each custody period as a "Parenting time" event — after a short JSON summary of what was included and what was left out. To get a file or download link instead, use ofw_save_calendar_ics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | full (default): the response `format` asks for. brief: one line per calendar item (the custody grid is never included), inside an untrusted-data envelope ({untrusted_content, note, data: string[]}) — title — start (ISO-8601, a bare date for all-day items) — event|all day|outside calendar|handoff; a title starting with "-- " or "\" gains one leading "\"; an empty range answers "-- none". Overrides format and detailed | |
| types | No | Keep only these: EVENT, CONNECTED_EVENT (from a subscribed outside calendar), TRANSITION (custody handoffs; in .ics they become "Parenting time" periods), SCHEDULE (the per-day custody grid, JSON only). Default: everything | |
| format | No | json (default): the OFW payload. ics: a summary block, then the iCalendar text | |
| endDate | Yes | End date YYYY-MM-DD | |
| detailed | No | Return full event details (default false). Ignored for format:"ics", which always reads the detailed calendar | |
| timeZone | No | IANA zone of the user's OFW account, e.g. America/Chicago. OFW reports wall-clock times with no zone; this is the zone they are read and shown in. Default: the server's DISPLAY_TZ | |
| startDate | Yes | Start date YYYY-MM-DD |