delete_post
Deletes a WordPress post by ID, moving it to trash by default or permanently removing it when force is true, to manage outdated or unwanted content.
Instructions
Delete a WordPress post (moves to trash)
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": {
"id": "<id>"
},
"name": "delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID to delete | |
| force | No | Permanently delete instead of trash |