instagram_upload_photo
Publish a photo to the Instagram feed, converting non-JPEG formats, and return media details.
Instructions
Publish a photo to the feed.
Instagram accepts JPEG; other formats are converted first. This posts publicly and immediately - confirm the file and caption with the person you are working for. Requires INSTAGRAM_ALLOW_WRITES=true.
Args: path: The image file to publish. caption: The caption to publish with it.
Returns: posted (bool) and media: media_id, code, url, type, taken_at, caption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a JPEG on this machine, e.g. 'C:/photos/sunset.jpg'. | |
| caption | No | Caption text, hashtags included. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||