Log note (replaces note)
log_noteRecord a free-text mood or daily note for a specific day, replacing any existing note of that kind; content stays encrypted on your device.
Instructions
Log a free-text note on the owner's behalf (agent write).
For narratives that belong next to the metric data instead of in chat
history: kind="mood" for emotional state ("为什么今天情绪低落"),
kind="general" for day events worth joining against sleep/HRV later.
(sleep/menstrual notes stay iOS-authored — this tool refuses them.)
⚠️ THIS TOOL DELETES. There is one note per (kind, day), and your text
becomes its ENTIRE contents — anything already written for that kind+day
is silently deleted. If you meant to ADD to a day rather than replace it,
STOP and call log_note_append instead; it cannot delete anything.
(merge=True still does the same thing as log_note_append and keeps
working for callers that already use it. New callers should use the
separate tool: which one you called is visible to the owner, a flag
buried in the arguments is not.)
The result carries replaced_text — the note this call deleted. If it is
non-null and you did not intend to replace, you just destroyed that text;
re-send it with merge=True.
Symptoms do NOT go here: use log_symptom, one call per symptom. A
note is free text nothing can be matched against; a symptom entry keeps
its type, severity and timing so it can later be lined up with sleep,
food and heart rate. A note is for what surrounds it (mood, events, how
a day went).
date = LOCAL calendar day "YYYY-MM-DD" (default today). Read back via
get_notes (optionally target_kind="mood"/"general"). Encrypted
end-to-end before it ever leaves this machine.
partner=true records a note ABOUT your partner ("she had a stomach ache
this morning"). It is stored in YOUR account and sealed to you and this
machine only — your partner's account is never touched, and it never
mixes into your own notes: plain reads leave it out, get_notes(partner=true)
returns it. Default false = a note about you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| kind | No | general | |
| text | Yes | ||
| merge | No | ||
| partner | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||