royal-mcp__wp_delete_menu
Delete a whole navigation menu with its items. Requires edit_theme_options. The menu is removed from any theme location it was assigned to. Undo recreates the menu, its items (with their nesting and other saved item settings), its theme locations and its auto-add-pages setting; the items get new IDs. Undo refuses when a menu with the same name exists again, unless force. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
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": {
"menu_id": "<menu_id>"
},
"name": "royal-mcp__wp_delete_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_id | Yes | Menu ID from wp_get_menus. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) |