Start video upload
start_video_uploadAttach a video, such as an Instagram Reel, TikTok, or YouTube Short, to a draft. Reserves the upload and returns signed instructions for sending the file’s bytes straight to storage from your machine. Follow the returned instructions, then call finish_video_upload. One video upload per draft at a 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": {
"contentCardId": "<contentCardId>",
"fileName": "<fileName>",
"mimeType": "<mimeType>",
"sizeBytes": "<sizeBytes>",
"sha256": "<sha256>"
},
"name": "start_video_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | Lowercase hex SHA-256 of the whole file, as from shasum -a 256. | |
| fileName | Yes | File name with its extension, such as reel.mp4. | |
| mimeType | Yes | ||
| uploadId | No | Omit on the first call. To resume, or to get the next set of parts, send the uploadId the first call returned with the same file. | |
| sizeBytes | Yes | Exact file size in bytes. | |
| contentCardId | Yes | The draft’s content card id, from create_draft or get_calendar. |