Create media upload
create_media_uploadCreate a media upload and get a direct upload URL for PUTting file bytes. Staging media is temporary and must be copied into durable storage for scheduling.
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 |