Publish a prepared post (step 2 of 2)
ig_publish_postPublishes a prepared Instagram post draft after confirmation, making it public and returning the post ID and link. Use only after preview approval; API publishing cannot be undone.
Instructions
Step 2 of publishing: make a draft from ig_prepare_post public on the account. This can't be undone through the API. Only call after the user has seen the ig_prepare_post preview and confirmed. Returns the new post's ID and link.
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": {
"container_id": "<container_id>"
},
"name": "ig_publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | container_id from ig_prepare_post |