wp_delete_menu_item
Deletes a menu item. Ask the user for confirmation first and only call this tool with confirm=true after they approve.
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": {
"site_id": "<site_id>",
"menu_item_id": "<menu_item_id>",
"confirm": "<confirm>"
},
"name": "wp_delete_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true only after the user explicitly confirms deletion. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| menu_item_id | Yes | The menu item post ID to delete. |