upload_media
Upload a local file to get a media key. Automatically detects content type, obtains a signed URL, and returns the media key and type for post creation.
Instructions
Upload a local file to PostFast and get back a media key for use in create_posts. Handles the full flow: detects content type, gets a signed URL, uploads the file, and returns the key and type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the local file (e.g. /Users/me/photo.jpg) |