Create plan
familia_create_planUse this when the user asks to create a Familia plan item for an event, trip, holiday, school, activity, care coverage, travel, chore block, or other scheduled family plan. If the same plan repeats across several days, weeks, or months, provide rrule and create one recurring plan instead of multiple one-time plans. If the user gives multiple dated or timed actions that clearly belong to the plan, such as flights, leaving for the airport, pickup, packing, check-in, or return travel, put the main event/trip in the plan and create each dated action as a relatedTasks entry instead of stuffing them all into notes. Do not use for standalone responsibility-style task reminders; use familia_create_task or familia_batch_write instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Plan category. Use event when no more specific category fits. | |
| endAt | No | Optional ISO datetime. | |
| notes | No | Optional plan notes or context. Do not use notes as the only place for separate dated actions; use relatedTasks for each distinct action with its own date or time. | |
| rrule | No | Optional RFC 5545 RRULE, e.g. FREQ=DAILY;INTERVAL=2 or FREQ=WEEKLY;BYDAY=MO,WE. Use this when the user says the same task or plan repeats across days, weeks, or months; create one recurring schedule instead of multiple one-time items unless each occurrence has different content. Requires the first dueAt/startAt as the anchor. | |
| title | Yes | Short plan title, e.g. "School concert" or "Long weekend trip". | |
| allDay | No | Whether the plan is all-day. | |
| startAt | No | Optional ISO datetime. | |
| location | No | Optional location, venue, or address. | |
| timezone | No | IANA timezone for startAt/endAt, e.g. Europe/Prague. | |
| householdId | Yes | Familia household id where the plan should be created. | |
| agreementIds | No | Optional existing related task ids to link to the plan. | |
| relatedTasks | No | Optional new tasks to create and link to this plan. Use one related task per distinct dated or timed action, such as leaving for an airport, outbound flight, return flight, pickup, packing, or check-in. | |
| idempotencyKey | No | ||
| recurrenceEndDate | No | Optional YYYY-MM-DD end date for a recurring schedule. Use this for bounded repeats such as "this week", "for three days", or "until Sunday". | |
| participantUserIds | No | Optional Familia user ids participating in the plan. | |
| requiresConfirmation | No | Whether participants should confirm coverage or attendance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | ||
| schedule | No | ||
| planItemId | Yes | ||
| relatedTasks | No | ||
| occurrenceIds | Yes | ||
| relatedTaskIds | No |