mcp_delete_cpt_post
Deletes any WordPress post type by site and ID, sending it to trash by default or permanently removing it when force is enabled.
Instructions
Delete a post of any post type (moves to trash unless force is true)
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": {
"site": "<site>",
"type": "<type>",
"id": "<id>"
},
"name": "mcp_delete_cpt_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| site | Yes | Site id (see list_sites) | |
| type | Yes | Post type name (e.g. post, page, product, testimonial) | |
| force | No | Skip trash and permanently delete (default false) |