Update Contact (CRM write)
update_personUpdate an existing contact in Dayze by supplying its person_id, changing only the fields you specify—name, favorite, tier, relationship, notes, or birthday—without creating or deleting records.
Instructions
MUTATES Dayze Contacts. Patch one existing contact the user owns (person_id UUID required). Optional fields: name (renames + refreshes slug), is_favorite, tier (vip|normal|low), relationship, notes (replaces stored notes — read first if you need to append), birthday (YYYY|YYYY-MM|YYYY-MM-DD|MM-DD|--MM-DD or null to clear; MM-DD stores month_day precision). Rejects unknown fields. Does not create or delete contacts. Rebuilds life_state so the next get_context_pack inner_circle is fresh. Advertised name update_person is stable; tools/call also accepts update_contact. Requires API key or OAuth with scope context. Share tokens cannot write. ($0.10; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rename contact (also refreshes URL slug). Prefer this over create+merge for spelling fixes | |
| tier | No | Relationship priority. VIP stays in inner_circle even when not favorited | |
| notes | No | Replaces people.notes (does not append). Empty or null clears | |
| birthday | No | YYYY, YYYY-MM, YYYY-MM-DD, or MM-DD / --MM-DD (year unknown). Null/empty clears | |
| person_id | Yes | UUID of a person the authenticated user owns | |
| request_id | No | Client idempotency key (retries return original result). | |
| is_favorite | No | Favorite flag. Favorites (and VIP) appear in get_context_pack inner_circle | |
| relationship | No | Relationship label (friend, sister, …). Empty or null clears | |
| idempotency_key | No | Alias for request_id. | |
| preserve_old_name_as_alias | No | When renaming, keep the previous name as a former_name alias (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | Yes | A Dayze person or contact record. | |
| changed | Yes | Changed fields with before and after values. | |
| life_state_rebuilt | Yes |