delete_post
Delete a WordPress post or page by ID, with optional permanent force deletion that bypasses the trash.
Instructions
Delete a WordPress post or page
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 |
|---|---|---|---|
| force | No | Force delete (bypass trash, permanently delete) | |
| post_id | Yes | Post or page ID to delete | |
| post_type | No | Content type being deleted. Defaults to 'post'. | post |