Lösche WordPress Post
wp_delete_postDelete a WordPress post by ID, moving it to the trash or permanently removing it with force option.
Instructions
Löscht einen WordPress-Beitrag (verschiebt in Papierkorb oder endgültig)
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": "wp_delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| force | No | Endgültig löschen statt Papierkorb |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |