Create media upload
create_media_uploadStages a media file for upload by returning a URL where the client can PUT file bytes. Use this only when the client can perform the HTTP PUT directly.
Instructions
Internal/app staging helper for clients that can directly PUT file bytes to the returned upload_url. Do NOT use this directly from the ChatGPT/claude.ai model for attached files: the model/server environment cannot read or upload ChatGPT attachment bytes. For ChatGPT attached video uploads, call open_upload_studio first; the Studio browser component will call this tool after the user selects the file. Use this directly only in MCP clients that truly hold the file bytes and can perform the HTTP PUT themselves. Staging media is deleted after 24 hours; scheduled posts are safe because upload_video copies the media into durable scheduler storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Optional source label, e.g. mcp_chatgpt or mcp_claude. | |
| filename | Yes | Original filename, e.g. clip.mp4. | |
| mediaType | No | Kind of media being uploaded. | video |
| contentType | Yes | MIME type, e.g. video/mp4. | |
| contentLength | Yes | File size in bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |