ig_publish_carousel
Publish a multi-image carousel post to Instagram. Provide 2-10 publicly accessible image or video URLs, an optional caption, and a first comment.
Instructions
Publish a carousel (multi-image) post to Instagram. Requires 2-10 items. Each item URL must be publicly accessible. Flow: create child containers → create parent container → publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Carousel items (2-10). Each needs a publicly accessible media URL. | |
| caption | No | Carousel caption (max 2200 characters). | |
| accountId | No | Instagram Business Account ID. Falls back to INSTAGRAM_BUSINESS_ACCOUNT_ID env var. | |
| accessToken | No | Instagram access token. Falls back to INSTAGRAM_ACCESS_TOKEN env var. | |
| firstComment | No | Optional first comment posted immediately after publishing. Use for hashtags or a call-to-action. NOTE: links in Instagram comments are NOT clickable — do not use for bare URLs. Requires an IG Business account. Max 2200 chars. |