zernio_upload_media_from_file
Upload a local image or video file to Zernio by providing its file path. The server reads the file, obtains a presigned upload URL, uploads it, and returns a public URL for use in posts.
Instructions
Upload a local image or video file to Zernio by reading it from disk. Use this when you have a local file path instead of a public URL. The MCP server reads the file, gets a presigned upload URL from Zernio, uploads the file, and returns the publicUrl to use in posts. Supports jpg, jpeg, png, gif, webp, mp4, mov, avi, webm, pdf.
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_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Media type: image, video, gif, or document (auto-detected from file extension if omitted) | |
| altText | No | Alt text for accessibility | |
| filePath | Yes | Absolute path to the local image or video file (e.g. /home/user/photos/banner.jpg, C:\Users\me\image.png) |