zernio_upload_media_direct
Upload a local file to Zernio's temporary media storage for use as an inbox message attachment. Files auto-delete after 7 days.
Instructions
Upload a local file to Zernio's temporary media storage (for use as inbox message attachments). Reads the file from disk and uploads via multipart/form-data. Files auto-delete after 7 days. Max 25MB.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "zernio_upload_media_direct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the local file to upload (max 25MB) | |
| contentType | No | Override MIME type (auto-detected from extension if omitted) |