ofw_upload_attachment
Upload a local file to OurFamilyWizard's My Files and get a file ID to attach to messages. Share privately or with co-parents.
Instructions
Upload a local file to OurFamilyWizard's "My Files" so it can be attached to a message. Returns the fileId — pass that to ofw_send_message or ofw_save_draft in myFileIDs to attach it. The file is uploaded as PRIVATE (visible only to you) by default; pass shareClass:"SHARED" to share with co-parents directly via the My Files area.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the local file to upload. Tilde (~) is expanded. | |
| label | No | Display label for the file in OFW (default: filename) | |
| shareClass | No | Share class (default PRIVATE) | |
| description | No | Description shown in OFW My Files (default: filename) |