publish_photo
Publish a photo to your Instagram feed by providing a publicly accessible image URL. Returns the post ID and permalink for confirmation.
Instructions
Publish a single photo to the Instagram feed.
THIS IS A WRITE OPERATION. The image URL must be publicly accessible — Instagram fetches it from your URL. Local file paths won't work; upload to S3/Cloudinary/imgur first. Returns the published post ID and permalink.
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": {
"image_url": "<image_url>"
},
"name": "publish_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Caption with hashtags. Max 30 hashtags. | |
| image_url | Yes | PUBLIC https URL of the image. Must be JPEG, < 8MB, accessible without auth. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||