Complete video upload
Source-generated complete_video_upload arguments, output schema, OAuth scope, and safety annotations for the reviewed MCP contract.
On this page
Tool
complete_video_upload
Validate uploaded video size, format, duration and dimensions, then return a reusable file_id and measured metadata. No depth processing or generation starts. Use the file in input.reference_video.source, or reuse an owned video asset instead.
Permissions and safety
OAuth scope: files:write
| Signal | Value |
|---|---|
destructiveHint |
false |
idempotentHint |
true |
openWorldHint |
false |
readOnlyHint |
false |
| spendsCredits | false |
| requiresUserConfirmation | false |
| sideEffects | uploaded_video_persisted |
Annotations describe safety properties; they do not replace consent, OAuth authorization, or server checks.
Input arguments
| Field | Type | Required | Default | Constraints | Meaning |
|---|---|---|---|---|---|
upload_id |
string |
Yes | — | format: uuid |
— |
Argument example
{
"upload_id": "00000000-0000-4000-8000-000000000008"
}
Structured result
| Field | Type | Required | Default | Constraints | Meaning |
|---|---|---|---|---|---|
byte_size |
integer |
Yes | — | — | Validated source bytes. |
duration_seconds |
number |
Yes | — | — | Measured source duration; the selected range must fit it. |
file_id |
string |
Yes | — | format: uuid |
Completed video file ID for input.reference_video.source, type=file. |
height |
integer |
Yes | — | — | Displayed source height in pixels. |
mime_type |
string |
Yes | — | — | Validated video media type. |
object |
string |
No | "file" |
const: "file" |
— |
sha256 |
string |
Yes | — | — | SHA-256 of the stored source bytes. |
width |
integer |
Yes | — | — | Displayed source width in pixels. |
Errors and next steps
Tool errors contain an error object with code, message, retryable, request_id, and details. Do not parse message text or leak private inputs. Inspect partial outputs after a terminal failure; a signed URL is not a saved file.
Was this page helpful?
No search queries, code, or free text are collected. This switch controls documentation interactions only; general site analytics follow the privacy policy. Privacy policy