Ask the user to upload a file
request_media_uploadAsks the user for a file that upload_media cannot carry: any video, or an image that exists only on their disk with no public URL. Returns a link the user opens to upload; clients that support in-chat widgets render a file picker from the same call. NOTHING IS UPLOADED BY THIS CALL: it reserves a destination. The user uploads through the link; get_media_status with the slotId reports the slot, and its ready state carries the media descriptor schedule_post takes. Until then no file exists.
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 |
|---|---|---|---|
| size | No | Byte count if known. | |
| purpose | No | Short phrase for what the file is for ("the Reel for Friday"). Echoed back in the result so a long wait does not lose the context; it is not shown to the user. | |
| filename | No | File name if you know it (e.g. "launch-reel.mp4"). A hint only; the user picks the actual file. | |
| mimeType | No | MIME type if known (image/* or video/*). | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |