wordpress_delete_post
[WRITE — removes content] Move a post or page to the trash (restorable for 30 days), or delete it permanently with permanent:true. Requires confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post or page id | |
| type | No | post (default) or page | |
| confirm | No | Must be true. Confirm the change with the user first; this acts on their live site. | |
| permanent | No | true deletes forever instead of trashing (default false) |