Request Media Upload
request_media_uploadCreate a link the user opens to upload image/video files from their own browser into the media library. Use it when you cannot send file bytes yourself: your environment cannot reach the presign_media_upload host, or the file is only in the user's chat or device. Show the user the options from the result in order, easiest first, each with its howTo: open uploadPageUrl (no sign-in, valid 1 hour, up to 20 files) or upload in the Social media studio media library; when your app has a one-time setting that lets presign_media_upload work, the result lists it first. After a link upload, call get_media_upload with the requestId.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "request_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | No | Optional destination media folder UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | Ways to add the files, easiest first. | |
| maxFiles | No | ||
| nextStep | No | ||
| expiresAt | Yes | The link accepts uploads until this time (ISO 8601). | |
| requestId | Yes | ||
| storageHost | No | The host uploads go to; allowing it in Claude settings lets Claude upload by itself. | |
| uploadPageUrl | Yes | Page where the user uploads the files from any browser, without signing in. | |
| mediaLibraryUrl | Yes | The media library in the Social media studio app. |