ofw_send_message
Send a message through OurFamilyWizard, either as a new message or by sending a saved draft, with support for replies and file attachments.
Instructions
Send a message via OurFamilyWizard. To send an existing draft, pass messageId — subject/body/recipientIds become optional overrides (missing fields default to the draft's cached values) and the draft is deleted after sending. To send a fresh message, supply subject/body/recipientIds directly. draftId is the legacy spelling of messageId and works the same way. If replyToId is provided, the cache may rewrite it to the latest reply in the same thread (a note is included in the response when this happens). Attach files by passing their fileIds (from ofw_upload_attachment) in myFileIDs. After sending, the tool re-fetches the message from OFW to populate the local cache and link attachments to the new message id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Message body text. Required unless messageId/draftId references a cached draft. | |
| draftId | No | Legacy synonym for messageId. If both are passed they must be equal. | |
| subject | No | Message subject. Required unless messageId/draftId references a cached draft. | |
| messageId | No | ID of an existing draft to send. When set, missing subject/body/recipientIds default to the draft's cached values, and the draft is deleted after sending. | |
| myFileIDs | No | Attachment file ids (from ofw_upload_attachment) to attach to the message | |
| replyToId | No | ID of the message being replied to | |
| recipientIds | No | Array of recipient user IDs (get from ofw_get_profile). Required unless messageId/draftId references a cached draft. |