ofw_status
Check live status of drafts and messages in OurFamilyWizard. Returns state (draft/sent/received/deleted) for specified ids or full draft inventory.
Instructions
ONE live call that answers "where does everything stand?". This is the call that should back any status summary about drafts or specific messages — never session memory, and never a cached read alone. With no arguments it returns the FULL current draft inventory, verified against OurFamilyWizard. Pass ids and/or draftKeys to get each one's live lifecycle state ("draft" | "sent" | "received" | "deleted" | "unknown") with sentAt and viewedAt. A draftKey is the stable identity ofw_save_draft returns: editing a draft mints a new OFW id every time (create-then-delete), so the key is the only way to ask "what happened to the thing I was working on?" — it resolves to the chain's current id and keeps resolving after the draft is SENT (state:"sent" with sentMessageId). The top-level complete is true ONLY when every part of this snapshot was verified live; if it is false, do not state a draft count or a lifecycle claim from this payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Message/draft ids to resolve to a live state (combined with draftKeys, max 25 probes per call). | |
| draftKeys | No | Stable draft keys (from ofw_save_draft / ofw_list_drafts) to resolve to their CURRENT id and state. | |
| allowMarkRead | No | Default false. An id whose cached state cannot rule out an unread INBOX message can only be probed by fetching its detail, which marks it READ on OurFamilyWizard — irreversible and co-parent-visible. Those are skipped unless this is true. Cached drafts, sent messages and already-read messages are always probed. Capped by OFW_ALLOW_MARK_READ. | |
| includeDraftInventory | No | Return the full current draft list, verified against OurFamilyWizard first. Defaults to TRUE when neither ids nor draftKeys is given (so a bare ofw_status() is a complete status snapshot), otherwise false. |