Confirm an uploaded media file
media_confirmConfirm an upload finished (pass the slot's key or mediaId; api-uploads/ and api-imports/ keys from create_upload / import_asset_from_url also work). Returns publicUrl (stable: use it in timeline ops), signedUrl (6 h: for reading it back in the workspace), bytes and contentType. Free.
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": {
"key": "<key>"
},
"name": "media_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The slot key (agent-media/...) or its mediaId |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| publicUrl | No | ||
| signedUrl | No |