wp_delete_menu_item
Permanently remove a WordPress classic menu item by its ID, with an optional dry-run to preview changes before deletion.
Instructions
Permanently delete a classic menu item.
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_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| force | No | ||
| dry_run | No | Preview changes without writing |