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.
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": "upload_media"
}
}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") |