Complete a media upload
dub_complete_uploadCall after all bytes have uploaded. For a ChatGPT import, use its assetId as uploadId and its completionKey as idempotencyKey. If preparing is true, wait and retry the same completion with that key. This validates the source without starting translation.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "dub_complete_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadId | Yes | The exact resource ID returned by DubSync, including any colon prefix. | |
| idempotencyKey | Yes | A stable unique key for this operation. Reuse it with the exact same input after a timeout; never generate a new key to retry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |