delete_post
Delete or cancel a scheduled or draft social media post in the user's Postemi calendar, before it goes out: the undo for create_post. Take the postId from list_posts or from create_post's own result.
REFUSES A POST THAT HAS ALREADY BEEN PUBLISHED. Postemi cannot remove a post from the platform; deleting the Postemi record would leave it live with nothing pointing at it. Check "state" in list_posts first — only QUEUE, DRAFT and ERROR posts can be deleted.
By default this deletes ONE post: the postId's channel only, with its thread or comment entries. Other channels of the same group (posts with the same "group" in list_posts) stay scheduled. Set allChannels to true to delete the whole group from every channel at once; then, if any channel of the group has already published, nothing is deleted at all. The result names every channel it removed, with the @handle, so you can tell the user exactly what is gone.
Ask the user before calling this, and ask whether they mean one channel or all channels when the post has several. It cannot be undone.
Magyarul: ütemezett poszt törlése, visszavonása.
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": {
"postId": "<postId>"
},
"name": "delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The post to delete, as returned by list_posts (postId) or by create_post (postId). | |
| allChannels | No | false or omitted: delete only this one post (one channel). true: delete the whole group, every channel this post went to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| output | No |