wp_delete_page
Delete a WordPress page by ID to remove unwanted or outdated pages. It helps you manage and clean up site content via WordPress REST API commands.
Instructions
Delete a WordPress page by ID
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page ID |