Add member
add_memberAdd a person to your household as an adult or child by providing a name and role, with an optional 4-8 digit PIN for secure access.
Instructions
Adds a person to the household as an adult or a child. Needs a name and a role; a 4–8 digit PIN is optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | Optional 4–8 digit PIN, stored hashed. | |
| name | Yes | The person's name, unique in the household. | |
| role | Yes | adult or child. | |
| member | No | Who is asking, if known: a member id or name. Used for per-member policies and the audit trail. | |
| dry_run | No | When true, return the preview only. Nothing is written and nothing is queued. | |
| idempotency_key | No | Optional client-chosen key. Repeating a call with the same key returns the original outcome instead of acting twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||