upload_image
PRIMARY path for attaching images, videos or a PDF to a post. Call this FIRST for any image beyond a thumbnail: inline base64 hits the tool-parameter size limit for all but the smallest images, and file_path doesn't work against a remote MCP server. Returns a presigned S3 URL + curl command; run the curl locally, then pass the returned s3_key to draft_post / save_draft / update_draft via the images field. Supports images (JPEG, PNG, GIF, WebP), videos (MP4, MOV, AVI, WebM, MKV) and PDFs up to 100 MB. A PDF posts as a LinkedIn document (a swipeable carousel), so it goes to LinkedIn only and on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original filename (e.g. 'photo.jpg') | |
| content_type | No | MIME type (e.g. 'image/jpeg', 'image/png', 'application/pdf'). Inferred from filename extension if omitted. |