Finish file upload
complete_upload[write] Assemble an upload's parts into a library file, measure it, and optionally place it on the timeline. Use after every part of a create_upload has been PUT; pass each part's ETag exactly as returned, and over MCP the project's project_id. place lays it like add_timeline_clip. Not for a web address (use import_media_from_url). Returns asset_id, kind, name, duration_ms, width, height, and placed {handle, lane, start_ms, end_ms} when placed. Related: create_upload, add_timeline_clip, list_media.
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>",
"upload_id": "<upload_id>",
"parts": "<parts>"
},
"name": "complete_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | Yes | Every part sent, with its ETag. | |
| place | No | Also lay it on this project's timeline. | |
| upload_id | Yes | upload_id from create_upload. | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). |