posts_delete
Delete a post this account published, on any channel that allows it through its API: X, YouTube (the video) and Facebook (a Page post). Name the post by the post_id posts.publish answered or its link (an x.com, youtube.com / youtu.be or numeric facebook.com link), and the account with account_id or the channel. Other channels answer not_supported. Delete only when the user explicitly asks for this post: it cannot be undone.
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": "posts_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | The channel, when account_id is omitted and the workspace has one account on it. | |
| post_id | Yes | The post to delete: its id (post_id from posts.publish) or its link. | |
| account_id | No | The account that published it (its id from channels.list). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |