Tools Catalog / WordPress tools / wp_get_nav_menus

wp_get_nav_menus tool reference for StifLi Flex MCP

Read-only
Group MenusCapability edit_theme_options

lists navigation menus.

Description

lists navigation menus.

What it is for

  • Seeing available menus before editing them.

Example use case

navigation audit.

Sample prompt

List all navigation menus so I can identify which one controls the main header.

Sample response

{
  "tool": "wp_get_nav_menus",
  "status": "ok",
  "items": []
}

What does wp_get_nav_menus do?

lists navigation menus.

Does wp_get_nav_menus modify site data?

No. It is a read-only operation and does not modify content or settings.

Which capability is commonly required?

It usually runs under controls compatible with edit_theme_options and the active MCP profile.

How should wp_get_nav_menus be used safely?

Limit scope with filters and pagination to reduce overexposure of data.