Log Moment (story or memory)
log_momentSave a past story or memory as a private moment. Plans go to log_event; a touchpoint with a contact to log_interaction. Requires title, and moment_date (YYYY-MM-DD, YYYY-MM or YYYY; alias date) unless event_id is given. With event_id (an owned event the story is about) it creates a NEW moment linked to that event and takes the event's date and location when you pass none; the event itself is never changed, converted or deleted, and one event can have many moments. Don't also save the story as an event. Optional: description (the longer story), moment_date_precision (exact, month, year, circa), end_date, moment_type (default memory), location_name (only a place the user said), person_ids (owned contacts; any other id saves nothing), people_names (tag saved contacts only, never created), cover_image_url / media_urls (https links), tags. Always private: there is no visibility argument; the owner shares a moment in Dayze. Fix it later with update_moment. Requires API key or OAuth with context.write. ($0.10; API key required)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "log_moment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Alias for moment_date. | |
| tags | No | Optional short tags (max 20, 40 characters each). | |
| title | Yes | The story in a few words (max 200), e.g. "Mia called the moon a banana". | |
| end_date | No | Optional last day YYYY-MM-DD, for a moment that spans days. | |
| event_id | No | A calendar event this story is about (owned, max 128). Links the new moment to it; the event is not changed. | |
| location | No | Alias for location_name (max 300). | |
| media_urls | No | Optional https image links (max 10, 2048 characters each). | |
| person_ids | No | Owned contact ids of people in the story (max 25). An id that isn't the user's saves nothing. | |
| request_id | No | Client idempotency key (retries return original result). | |
| description | No | The longer story, in the user's words where possible. | |
| moment_date | No | When it happened: YYYY-MM-DD, YYYY-MM or YYYY (alias date). With event_id and no date, the event's date is used. Otherwise required. | |
| moment_time | No | Optional local time-of-day when it happened (HH:mm or HH:mm:ss). Null/empty = date-only. Not the row created_at. | |
| moment_type | No | Default memory. | |
| people_names | No | Names the user said (max 25, 120 characters each); tagged only when they match a saved contact (never created). Unmatched names come back in unresolved_people. | |
| location_name | No | Where it happened, only as the user said it (max 300). With event_id and no place, the event's location is used. Alias: location. | |
| cover_image_url | No | Optional https image link for the moment's cover (max 2048). | |
| idempotency_key | No | Alias for request_id. | |
| moment_date_precision | No | How exact the date is. YYYY-MM and YYYY default to month and year; circa for "around then". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moment | Yes | A moment: a story or memory, private to the owner. event_id links the event it is about. | |
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| message | Yes | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| inspect_url | No | The Dayze page that shows the saved record. | |
| invalidates | No | ||
| inspect_note | No | What inspect_url opens. Never quote the record id. | |
| linked_event | Yes | The event this moment links, unchanged by the call; null when none. | |
| people_tagged | Yes | ||
| unresolved_people | Yes | people_names that matched no saved contact (not tagged, not created). | |
| inherited_from_event | Yes | moment_date and/or location_name, when taken from the linked event. |