request_video_upload
Reserve a durable upload for a local video (max 100MB). PUT the exact sizeBytes to uploadUrl using EVERY requiredHeaders entry exactly as returned; do not add an ACL. A successful PUT is not public and not yet in the library. Then call complete_media_upload with uploadId and metadata; that tool safely polls malware scanning and idempotent publication. On a same-clientUploadId retry, S3 412 means skip another PUT and resume completion with this uploadId. During the zero-downtime backend rollout only, mode=legacy instead returns publicUrl and explicit add_video instructions. Allowed types: video/mp4, video/webm, video/quicktime, video/x-m4v.
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": {
"filename": "<filename>",
"contentType": "<contentType>",
"sizeBytes": "<sizeBytes>",
"clientUploadId": "<clientUploadId>",
"proAccessToken": "<proAccessToken>"
},
"name": "request_video_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| sizeBytes | Yes | ||
| contentType | Yes | ||
| clientUploadId | Yes | Required idempotency key. Generate it before the request and reuse it only when retrying the exact same file. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |