Repost a post
sprkly_repostPost a copy of a post that already went out, as a new scheduled post. It is the same as Repost in the app: the same plan, post cap, X cap and media checks. One new post per account; the original stays as it is. Only a post that went out (posted). A failed post is never sent again: one that may already be live is refused with may_be_live, and any other failed post with failed_not_reposted, so tell the user why it failed and let them decide. A photo or video deleted from sprkly is refused with media_expired. A copy already waiting to go out on that account is refused with already_queued and its id: do not call again. Every paid plan: Free gets upgrade_required. Confirm the time and the accounts with the user first, and only when they ask.
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": {
"post_id": "<post_id>"
},
"name": "sprkly_repost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The id of the post that went out. | |
| profile_ids | No | The accounts to post the copy to, from sprkly_list_profiles. Left out, it goes to the same accounts as the original. | |
| scheduled_time | No | ISO 8601 time to publish the copy. Must be in the future. Left out, it goes out on the next publisher run, about a minute from now. |