upload_media
Upload a local image or video file to SocialDispatch storage and get a public URL plus metadata for publishing across social accounts.
Instructions
Upload a local image or video file directly to SocialDispatch and its enabled storage (Cloudflare R2 or local storage). Returns the public media URL, storage provider, and metadata to use for publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Optional custom file name to assign to the uploaded asset | |
| filePath | Yes | Absolute or relative path to the local media file on disk (e.g. "/path/to/video.mp4" or "./image.png") |