Confirm a media upload
confirm_media_uploadConfirms a completed PUT upload by its fileKey and returns a mediaId for supported publishing. Repeating confirmation returns the same mediaId. Optional duration, width, and height are client hints; Posteady measures supported MP4/QuickTime files before saving them. Confirmation makes the file publicly accessible to anyone with its media URL. This does not publish a social media post.
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": {
"fileKey": "<fileKey>"
},
"name": "confirm_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| fileKey | Yes | ||
| duration | No | ||
| workspaceId | No |