zeph_file
Send existing files or generated text to your device with a custom title. Supports images, PDFs, and logs; images render inline.
Instructions
Send a file to the user's device. Pass filePath to send a file that already exists on disk — images (png/jpg/gif/webp/heic), PDFs, logs, anything. Pass content instead to send text you generated. Images render inline on the device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Notification title (defaults to fileName) | |
| content | No | Text content of the file. Use only for text you generated; requires `fileName`. | |
| fileName | No | File name with extension (e.g., "report.txt"). Required with `content`; defaults to the basename of `filePath`. | |
| filePath | No | Absolute path to a local file to send. Required for images, PDFs, and any other binary — never base64 a file into `content`. | |
| targetDeviceId | No | Target device ID. Omit to use configured default or send to all devices. |