Onboard a loved one
onboard_loved_oneSets up a loved one on LovedOne from conversation: creates the caller's family workspace on first use (or adds to it), allocates their private @lovedone.app care-inbox address, and records the caller's authorization attestation. Idempotent — calling again for the same person returns the existing record. Before calling, confirm attestAuthorized with the user in plain words. Do NOT ask for date of birth, medications, or SSN during setup; dateOfBirth is accepted only if volunteered. The loved one's own email is optional and is never emailed automatically. This is a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| familyName | No | Optional workspace display name. Defaults to "The <lastName> Family". Only used when creating a new workspace. | |
| careContext | No | Optional free-text context the caller volunteers (conditions, situation). Stored on the workspace; never included in notifications. | |
| dateOfBirth | No | Optional ISO date (YYYY-MM-DD). PHI — include ONLY if the caller volunteers it; never ask for it during setup. | |
| consentBasis | No | Basis for coordinating care correspondence. Use family_coordinator_attested unless the caller names a legal role (personal_representative, poa, guardian) or is setting up their own inbox (self). Defaults to family_coordinator_attested. | |
| relationship | Yes | Caller's relationship to the loved one (e.g. daughter, son, spouse, niece). | |
| lovedOneEmail | No | Optional: the loved one's own email address, stored for optional forwarding. Never emailed automatically. | |
| attestAuthorized | Yes | Must be true. Set only after the caller agrees, in the conversation, that they are authorized to coordinate this person's care correspondence. | |
| lovedOneLastName | Yes | Last name of the care recipient. | |
| lovedOneFirstName | Yes | First name of the care recipient (e.g. an aging parent). |