Move post to trash
wp_delete_postMove a post, page or item of another post type to the trash by ID. It can be restored from the trash in WordPress.
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 |