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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "instagram_upload_photo"
}
}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 | |||