Upload media
upload_mediaUpload a media file (image or video) from a URL or local file path. The file is stored in BulkPublish for use in posts. Supported formats: JPEG, PNG, WebP, GIF, MP4, MOV, WebM. Max 100MB. Provide either url OR filePath, not both. Use this when the user provides an image/video to attach to a post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the media file to upload. | |
| filePath | No | Absolute path to a local file to upload (e.g. /Users/me/photo.png). | |
| filename | No | Optional filename. If omitted, derived from the URL or file path. |