Start my Phi Longevity account (emails me a sign-in link)
start_my_phi_accountStarts a Phi Longevity account for a consenting user, emails a one-tap sign-in link, and preloads selected hospitals, appointment, and care-gap answers for confirmation.
Instructions
Every doctor, your complete record. When the person you are helping wants their own Phi Longevity account, call this with their email address and owner_agreed: true (ask them first; never call it without their clear yes). Phi Longevity emails them a one-tap sign-in link (no password, free to start). Pass what you already did so it is waiting for them: the hospitals from get_my_medical_records, the job_ref from prepare_for_my_appointment, and the answers you gave check_care_gaps. Nothing attaches to their account until they confirm; unused, it is deleted after 3 days. The answer is the same whether or not they already have an account. Hospital names and closed options only: never lab values, names, birth dates or documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_ref | No | job_ref from prepare_for_my_appointment, so their visit sheet is waiting. | |
| care_gaps | No | The same arguments you passed to check_care_gaps (closed options only). | |
| hospitals | No | The hospitals and clinics you looked up with the person. | |
| owner_email | Yes | The person's own email address, given by them for this purpose. | |
| owner_agreed | Yes | true only when the person said yes to getting this email. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | "sent_if_possible" (the same for every accepted request) or "not_available". | |
| next_step | Yes | The one next step: read this last and act on it. | |
| what_happened | Yes | ||
| for_my_owner_say_this | No | Plain words to tell the person. |