Upload a video file
upload_videoBrings a new long video into Clipzi from a file. Returns an address to PUT the file to (straight to storage) and the exact curl command for it. Run it, and when it finishes with HTTP 200 call finish_upload with the upload_id: that starts the analysis (transcription and clip detection). Needs a place where a command can run (a terminal; without one, get_upload_link gives the person a page to upload it themselves); the file must be a video (mp4, mov, mkv, webm). Counts as one video of the plan when finish_upload starts it.
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>",
"size_bytes": "<size_bytes>"
},
"name": "upload_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | File name with its extension, e.g. "podcast.mp4". | |
| size_bytes | Yes | Exact size of the file in bytes (ls -l, or stat). The address only accepts a file of this size. |