Check an uploaded video and get the link a study takes
completeUploadCheck an uploaded video and get the link a study takes. After the PUT: it checks the file is there and is a video, and answers with upload.mediaUrl, to use as a question’s media.url (kind video) or an ad ranking’s ads[].url. Safe to call twice: the same link. Not there yet: 409, so PUT it first.
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": {
"uploadId": "<uploadId>"
},
"name": "completeUpload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadId | Yes | upload.id from createUpload. |