retry_post
Publish one or more failed posts again, including posts missed while a channel was disconnected (list_posts with state ERROR shows them and why they failed). Postemi decides per post whether a retry can work, and never risks posting twice: it retries at once only when nothing can have reached the platform (the media never arrived, a disconnected channel once reconnected, a platform limit once it has passed). A failure that may have happened after the platform took the post (a timeout, a server error, an unknown error) and an account problem need userConfirmed, after the user checked the platform. Content the platform refused is NOT retried: fix it with update_post. Each refusal carries the platform's exact answer (platformMessage, platformResponse). Several posts are spread two minutes apart, oldest first. Tell the user the result for each post.
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": {
"postIds": "<postIds>"
},
"name": "retry_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | When to retry, ISO 8601 UTC. Leave out to retry now. | |
| postIds | Yes | postIds of failed posts, from list_posts (state ERROR). | |
| userConfirmed | No | Only when a previous answer asked for it and the user confirmed: that the post is not already on the platform, or that they fixed the account problem. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| output | No |