retry_failed_post
Publish a post that failed again — right now (publish_now=true) or at a new time (scheduled_at, a future ISO-8601 time WITH a timezone offset). Exactly one of the two. Only a post whose status is "failed" can be retried.
Find the post with list_scheduled_posts(status=["failed"]); each failed row
carries publish_error, the reason in plain words. Tell the user that
reason first: when the cause is an expired Instagram connection or media
Instagram rejected, retrying changes nothing until they fix it (reconnect in
Settings → Connections, or upload different media). When the failure was
transient, retry. If the post should not go out at all, use
cancel_scheduled_post.
The post keeps its caption, media, cover and settings. This publishes to Instagram (immediately, or at the time given), so confirm with the user before calling it.
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": {
"workspace_id": "<workspace_id>",
"post_id": "<post_id>"
},
"name": "retry_failed_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| publish_now | No | ||
| scheduled_at | No | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mode | Yes | ||
| status | Yes | ||
| caption | Yes | ||
| is_trial | No | ||
| ig_media_id | No | ||
| scheduled_at | No | ||
| ig_account_id | Yes | ||
| publish_error | No |