Restore a post from the Bin
sprkly_restore_from_binBring a deleted post back from the Bin. Only posts in the Bin, for 30 days after they were deleted (the Bin in the app shows the last 5). A scheduled post whose time has passed, or is under 2 minutes away, comes back as a draft, so it never goes out on its own: ask the user for a new time, then use sprkly_update_scheduled_post. A posted post comes back as posted (it only shows again), a failed post stays failed, and a draft stays a draft. Only when the user asks.
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_restore_from_bin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The id of the post in the Bin. |