Start uploading a local file
upload_startPrepares a local-file upload for an explicit project and returns presigned storage URLs and the upload-completion contract. Supported kinds include main video, supplemental clip, music and image; clips may have a reference-only shorts role.
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": {
"project_id": "<project_id>",
"filename": "<filename>",
"size_bytes": "<size_bytes>"
},
"name": "upload_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| role | No | Optional and valid only with kind='clip'. Makes the upload reference-only Shorts style input, not placeable media. | |
| filename | Yes | Name with extension, e.g. talk.mp4 | |
| duration_s | No | Optional locally measured media duration in seconds, retained in the upload-completion contract. | |
| project_id | Yes | Explicit project identifier for this request. The connection's navigation pointer does not select the target. | |
| size_bytes | Yes | Exact size of the local file |