get_video_upload_url
Get a presigned URL to upload a video that only exists locally (not yet reachable at a public URL) so it can be scheduled.
schedule_reel, schedule_reels_bulk, and generate_reel_captions all need
either a source_url (a link they can fetch from, e.g. Google Drive shared
"Anyone with the link") or a video_token. When the video is just a local
file with no public link, use this instead: PUT the raw video bytes
directly to upload_url (as a plain HTTP PUT — do NOT route the bytes
through this MCP connection, e.g. as a tool argument or base64; the
upload_url accepts the request body as-is, with a Content-Type header
matching the mime_type you passed here). Once that PUT succeeds, pass
video_token to schedule_reel/schedule_reels_bulk/generate_reel_captions
in place of source_url — it identifies the object you just uploaded, the
same as a video_token generate_reel_captions returns.
upload_url expires in expires_in seconds — request a fresh one if the
upload doesn't complete in time.
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": {
"workspace_id": "<workspace_id>"
},
"name": "get_video_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime_type | No | video/mp4 | |
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_in | Yes | ||
| upload_url | Yes | ||
| video_token | Yes |