Log symptom
log_symptomRecord one reported symptom per call with type, severity, timing, and suspected triggers to align it with sleep, food, heart rate, and temperature data.
Instructions
Record one symptom the person reports — one call per symptom (agent write).
This is where "我肚子疼" / "headache since lunch" / "拉肚子了" goes, not a note: each episode is kept as fields (type, severity, timing, place, suspected causes) so a later read can line it up with sleep, food, heart rate and wrist temperature. Two symptoms at once are two calls. This tool only ever adds; it cannot change or delete anything already recorded.
symptom_type: a short English token. Use the Apple Health name when one
fits — abdominal_cramps, bloating, constipation, diarrhea, heartburn,
nausea, vomiting, headache, dizziness, fatigue, fever, chills, coughing,
sore_throat, runny_nose, lower_back_pain, chest_tightness_or_pain,
shortness_of_breath, acne, night_sweats… — so it merges with what Apple
Health imports; otherwise a plain descriptive one (rectal_bleeding,
stomach_spasm, eye_strain). Any spelling is folded to one form.
display_name: the person's own words, e.g. "便血" / "胃痉挛".
severity: mild | moderate | severe | unspecified. Use unspecified
unless they said how bad it is — never grade it for them.
onset_at: when it began, ISO 8601 with their UTC offset, e.g.
"2026-09-30T10:49+08:00". Omit it only for something happening NOW (it
defaults to the current time). If they named a day but no time
("昨天头疼"), pass that day as a bare "2026-09-29" — do not invent an hour.
end_at: when it eased, if they said; add it later with update_symptom.
date: the local day to file it under, only when it differs from the
onset's own day.
body_location, note: free text, only what they said.
triggers: what THEY suspect caused it, as short tokens
(["bbq_dinner", "spicy_food"], ["sleep_deprivation"]). Record their
suspicion; do not add causes of your own.
Returns entry_id (keep it for update_symptom / delete_symptom) and
the entry as read back. Read everything with get_symptoms. Sealed for
the owner and this machine only, end to end, before it leaves here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | ||
| end_at | No | ||
| onset_at | No | ||
| severity | No | unspecified | |
| triggers | No | ||
| display_name | No | ||
| symptom_type | Yes | ||
| body_location | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||