Tools Catalog / WordPress tools / wp_update_nav_menu_item

wp_update_nav_menu_item tool reference for StifLi Flex MCP

Write
Group MenusCapability edit_theme_options

updates a navigation item.

Description

updates a navigation item.

What it is for

  • Changing title, destination, parent, or order of an item.

Example use case

renaming a navigation label.

Sample prompt

Update menu item ID 244 and change its label from Blog to Resources.

Sample response

{
  "tool": "wp_update_nav_menu_item",
  "status": "ok",
  "updated": true
}

What does wp_update_nav_menu_item do?

updates a navigation item.

Does wp_update_nav_menu_item 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_update_nav_menu_item be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.