Delete a draft post
postkey_delete_postPostkey: Deletes a post that was never sent: a draft kept in Postkey, or a post that waits for approval. It is gone from Postkey for good; the Library files it used stay in the Library. A scheduled post, or one already sent to the platform as a draft (detail_status draft_created), is refused scheduled: unschedule it first (postkey_unschedule_post), and a post that went out, even in part, cannot be deleted. Only when the person asks for it.
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": "postkey_delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The post id (a UUID) from postkey_list_posts or postkey_create_post. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| note | No | Its Library files stay. | |
| deleted | No | true: the post is gone. | |
| post_id | No | The post id. |