Log state of mind
log_state_of_mindRecord how someone says they feel as an Apple Health State of Mind entry, converting conversational mood reports into valence, labels, and notes.
Instructions
Record how the person says they feel, as Apple Health's State of Mind (agent write).
This is where "今天工作好累,被掏空了" / "刚散步回来,心情特别平静" /
"I'm so anxious about tomorrow" goes when they tell you how they feel —
people rarely open an app to log a feeling, but they say it to you. One
call per feeling. This tool only ever adds; delete_state_of_mind
removes a mistaken one.
valence: -1 (very unpleasant) … 0 (neutral) … +1 (very pleasant), YOUR
reading of how pleasant it felt FROM THEIR WORDS. Apple splits the range
into seven equal regions: about -0.85 very unpleasant, -0.55 unpleasant,
-0.3 slightly unpleasant, 0 neutral, +0.3 slightly pleasant, +0.55
pleasant, +0.85 very pleasant. Stay inside what they said; do not
dramatise "有点烦" into very unpleasant.
labels: Apple's feeling words that THEIR words support, usually one to
three — amazed, amused, angry, annoyed, anxious, ashamed, brave, calm,
confident, content, disappointed, discouraged, disgusted, drained,
embarrassed, excited, frustrated, grateful, guilty, happy, hopeful,
hopeless, indifferent, irritated, jealous, joyful, lonely, overwhelmed,
passionate, peaceful, proud, relieved, sad, satisfied, scared, stressed,
surprised, worried. Leave it empty rather than guess when they only said
"心情还行".
associations: what it is about, only if they said — community,
current_events, dating, education, family, fitness, friends, health,
hobbies, identity, money, partner, self_care, spirituality, tasks,
travel, weather, work.
kind: "momentaryEmotion" (default — how they feel right now or at one
moment) or "dailyMood" (how the whole day has been).
logged_at: the moment, ISO 8601 with their UTC offset, e.g.
"2026-10-04T14:20+08:00"; omit it for right now. A dailyMood about a past
day may give just that day as date ("2026-10-03") — do not invent an hour.
note: a short summary in their words, only if useful later. It stays in
Vaultbeat; Apple Health has no place for text.
The person's iPhone writes it into Apple Health (Mental Wellbeing → State
of Mind) only if they turned on "Allow AI to update Apple Health" in the
app — it is off by default; either way it shows in Vaultbeat's mood
calendar (app 1.3.0 and later; an older app keeps it without showing it). Returns entry_id (for delete_state_of_mind) and the entry as
read back. Read everything with get_state_of_mind. Encrypted end to end
before it leaves here, for the owner and this machine; the owner's iPhone
then re-seals it for their other paired machines and — only if they turned
on sharing moods with their partner's AI — for that AI too, note
included, so write nothing in note they would not want that reader to see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| kind | No | momentaryEmotion | |
| note | No | ||
| labels | No | ||
| valence | Yes | ||
| logged_at | No | ||
| associations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||