Notes
get_notesReads and decrypts recent free-text notes locally, never re-exporting them. Filter by kind (sleep, menstrual, mood, general) and use the coverage block to gauge how far back data goes.
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); "mood" | "general" are
agent-authored via log_note. Pass target_kind to filter.
Stays on-device, never re-exported.
Carries a coverage block: quote coverage.days_covered (distinct days, not
the row count) and coverage.span_days beside any average or trend, and read
coverage.window_satisfied: false as a shorter history than asked, not as a
missing kind. 🔴 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 | ||
| target_kind | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||