mcp_delete_menu_item
Deletes a WordPress menu item and reparents its child items to the deleted item's parent. The response lists the reparented children so you can confirm the updated menu structure.
Instructions
Delete a menu item. Its children move up to its own parent; the response lists them as reparented.
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": "<site>",
"item_id": "<item_id>"
},
"name": "mcp_delete_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| item_id | Yes | Menu item ID |