Delete post
delete_postDelete a post that has not started going out: a draft, or one that is scheduled, canceled, held (plan_hold) or failed. A scheduled post is called off and deleted in one step. Deleting the root of a chain deletes its replies; deleting a reply removes only that reply, and the replies after it move up a place. A reply in a scheduled chain cannot be deleted on its own until the chain is canceled. Attachments are removed from storage too. Deleting a post that is already deleted succeeds again, so a retry is safe.
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": "delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | the post id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| post_id | Yes |