wp_delete_nav_menu tool reference for StifLi Flex MCP
Writedeletes a menu by `menu_id`.
Description
deletes a menu by `menu_id`.
What it is for
- Removing old or duplicate menus.
Example use case
menu cleanup.
Sample prompt
Delete menu ID 6 because it was only used for a finished microsite.
Sample response
{
"tool": "wp_delete_nav_menu",
"status": "ok",
"updated": true
}
What does wp_delete_nav_menu do?
deletes a menu by `menu_id`.
Does wp_delete_nav_menu modify site data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_theme_options and the active MCP profile.
How should wp_delete_nav_menu be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
