MCP tool

Create a video upload

Create a video and analysis record plus a short-lived presigned R2 upload URL.

LivePro

Tool contract

PropertyValue
Tool namecreate_video_upload
OAuth scopeanalyses:write
Rate limit10 requests/minute
PlanPro

Inputs

FieldTypeDescription
filenamestring, requiredOriginal filename.
contentTypevideo MIME type, requiredValidated video content type.
sizenumber, requiredBytes; maximum 500 MB.
platformplatform enumDefaults to YouTube Shorts.
durationnumberOptional known duration in seconds.

Output

  • Video and analysis identifiers
  • Presigned PUT URL
  • Upload headers and one-hour expiry

Example arguments

json
{"filename":"rough-cut.mp4","contentType":"video/mp4","size":12400000}

Related documentation