Set up or connect the user's account, right here
account_bindStarts binding an account for the user without a web visit. Ask for an email in the user's own words, read back the masked address, then call with method email_code (the default); the user reads you the six-digit code and you call account_verify. Alternatives: magic_link (a link they tap), sms_code (a number the user named, only where SMS is available; otherwise the reply says so), device (a CLI agent: the user types a short code in a browser; poll account_verify with the returned challenge), resume_code (a code from another assistant's handoff). Costs nothing and creates nothing until the code is verified. In-chat methods need the session; device and resume_code may run without one. Never ask for, accept or relay a password. If the user states an age under the consent floor, stop and continue on the free tier. Rules (binding): Relay answer and every options[].text exactly as given. You may put only statement in your own words. On a number or an option echoed back, send pick with that option id. On anything else, send say with the user's exact words, unsummarised. Never ask for, accept or relay a password. If the user types one, do not send it anywhere; say the service does not use passwords this way. Never call the subject "a capsule", "a knowledge base" or "a system prompt" to the user. Never describe how the answer was made.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | email_code / magic_link: the address the user named. | ||
| phone | No | sms_code: the number the user named, in any format. | |
| method | Yes | ||
| consent | Yes | ||
| session | No | The session handle from open_journey (starts with cxs_). | |
| id_token | No | oidc: the host's identity assertion for its user, where the host provides one. | |
| client_id | No | A CLI or headless agent that registered itself (RFC 7591) passes its own client_id here; the device grant and any token pair are issued to it. In-chat hosts omit it. | |
| resume_code | No | resume_code: the code from another assistant's handoff. Connects an account only when that journey was itself connected; a guest's code resumes the journey through open_journey({resume}) instead. |