upload_media
Upload an image or video to posterly storage and get a URL for create_post; nothing is published. base64_data with filename: a small file, keep decoded files <=5MB on this relay path. url: fetch a public HTTPS image or video (localhost and private network targets are blocked). For larger files, use create_signed_upload and PUT the raw bytes to its upload_url. Supports JPEG, PNG, GIF, WebP, MP4, MOV, WebM, and counts against the user's storage quota.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL of an image or video to copy into posterly storage instead of base64_data. | |
| filename | No | Filename with extension, e.g. photo.jpg. Required with base64_data. | |
| base64_data | No | Base64-encoded file data. The HTTP MCP transport requires base64 (no filesystem access). | |
| content_type | No | MIME type (auto-detected from filename if omitted) | |
| workspace_id | No | Optional. The workspace this acts in and whose plan pays (from whoami). Needed only when your connection can act in several workspaces. |