Publish to Instagram
ig_publishPublish images, carousels, reels, or stories to Instagram from public URLs, cloud share links, or local files, with optional cross-posting to a linked Facebook Page.
Instructions
Publish now to Instagram: image, carousel (2-10 images/videos), reel, or story. Media can be public URLs, Google Drive/Dropbox share links, or local file paths. Optionally cross-post to the linked Facebook Page. Always show the user the caption and media and get a clear yes before calling this; Instagram posts cannot be deleted through the API.
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": {
"type": "<type>",
"media": "<media>"
},
"name": "ig_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| cover | No | Reels: cover image (URL or local path) | |
| media | Yes | ||
| account | No | Which account: Instagram @username, Page name, or id. Omit for the default account. | |
| caption | No | ||
| user_tags | No | ||
| audio_name | No | Reels: name for the original audio | |
| trial_reel | No | Reels: post as a Trial Reel shown to non-followers first. MANUAL = you graduate it in the app; SS_PERFORMANCE = auto if it performs | |
| location_id | No | Facebook Page id of a location | |
| ai_generated | No | Apply Meta's 'AI info' label. Only settable at publish time | |
| extra_params | No | Any other Graph API container parameter, passed through as-is | |
| also_facebook | No | Also post to the linked Facebook Page | |
| collaborators | No | Up to 3 collaborator usernames (they must accept) | |
| first_comment | No | Posted as the first comment right after publishing | |
| share_to_feed | No | Reels: also show on the main grid (default true) | |
| thumb_offset_ms | No | Reels: frame to use as cover, in milliseconds |