Notes
get_notesDecrypt recent free-text day, sleep, menstrual, mood, or general notes locally; filter by kind or partner to analyze patterns alongside same-day health metrics.
Instructions
Decrypt recent free-text notes (day annotations) locally.
SENSITIVE free text. Each note carries owner_user_id (who wrote it),
target_kind, and target_date (the local day it annotates) — join
against the same-day metric data for pattern analysis. Kinds:
"sleep" | "menstrual" are written manually in the iOS app by either
partner (e.g. "昨晚舍友很吵" on a sleep day), and "day" is what the
person wrote about the day itself in the app's notes list (app 1.3.0+);
"general" is
agent-authored via log_note; "mood" notes are ones an AI wrote before
moods moved to get_state_of_mind — read them here, write no new ones.
Pass target_kind to filter.
Stays on-device, never re-exported.
Returns notes about YOU by default. partner=true returns notes about your
partner: the ones they wrote themselves and shared, plus the ones your AI
recorded about them (about: "partner", written with
log_note_append(partner=true)).
Carries a coverage block: quote coverage.days_covered (distinct days, not
the row count) and coverage.span_days beside any average or trend.
coverage.window_satisfied: false alone does NOT mean a short history: it is
also false when older days exist beyond your window. 🔴 Before saying how far
back someone's data goes, read coverage.more_available: true means this
server can decrypt days OLDER than first_day that your limit left behind —
re-read with a larger limit, or quote coverage.oldest_available as the real
start of their history. Never report a limit-shaped window as the extent of
their data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| limit | No | ||
| partner | No | ||
| target_kind | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||