media.completeVideoUpload
Finish a part upload after every part has been sent. Send each part number and the ETag the storage returned. The server checks the size and the first bytes, then saves the video on the job. It does not download the video.
| Who | Agents can call this |
| REST | POST /v1/media/video-complete |
| MCP tool | media_completeVideoUpload |
| Writes | yes, send an Idempotency-Key |
| Area | Shop |
When to use it
Finish a part upload after every part has been sent. Send each part number and the ETag the storage returned.
What to tell the owner
Say what you did in plain words and what happens next.
Input
| Field | Type | Required |
|---|---|---|
upload_token | string | yes |
parts | array | yes |
parts[].part_number | integer | yes |
parts[].etag | string | yes |
Example
POST https://doingwork.work/v1/media/video-complete
content-type: application/json
Idempotency-Key: 3f1c...
{
"upload_token": "...",
"parts": [
{
"part_number": 1,
"etag": "..."
}
]
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |