Create a media upload
create_media_uploadCreate a temporary URL to PUT media into the workspace. mediaType defaults to VIDEO and accepts MP4/MOV up to 2 GiB; IMAGE accepts .jpg/.jpeg/.jfif with image/jpeg up to 8 MiB. The file itself is uploaded to the returned URL with requiredHeaders within expiresInSeconds; confirm_media_upload then makes it publicly accessible via its media URL. This tool takes file details only and 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": {
"fileName": "<fileName>",
"contentType": "<contentType>",
"fileSize": "<fileSize>"
},
"name": "create_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | ||
| fileSize | Yes | ||
| mediaType | No | VIDEO | |
| contentType | Yes | ||
| workspaceId | No |