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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zeph_file"
}
}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. |