← Back to Tools Reference
Download Plugin
wp_list_menu_items
Read-onlyDescription
Use this tool to get all items within a specific menu, including their IDs, labels, URLs, parent references, and menu order. Your AI uses this to identify which item IDs to target when adding sub-items or removing existing navigation entries.
See it in action
Claude Desktop — MCP Connection
👤
List all items in the main header navigation menu.
🤖
Calling Tool: wp_list_menu_items
Done! I've used wp_list_menu_items to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Full menu review
- Prompt: “List all items in the primary navigation menu so I can see the full structure.”
- Checking dropdown structure
- Prompt: “List all items in the header menu and show which ones are dropdown children.”
- Finding outdated links
- Prompt: “List all footer menu items and flag any that link to pages that no longer exist.”
- Menu restructure planning
- Prompt: “Show me all items in the main menu with their order so I can plan how to rearrange them.”
- Validating menu after change
- Prompt: “After adding the new ‘Pricing’ link, list all menu items to confirm it’s in the right position.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_list_menu_items to Claude, ChatGPT, and more.