mcp-easy-ai__wp_list_menus
Lists the WordPress navigation menus (nav_menu taxonomy terms), 100 per page, ordered by name. Optional: page (1-based, default 1; total_pages says how many there are). Returns { menus: [{ id, name, slug, description, locations, count, term_group, term_taxonomy_id, taxonomy, parent }], total, total_pages, page, per_page }. locations lists the theme locations the menu is assigned to ([] when none); count is WordPress's stored term count, which counts published items only (draft items added on the Menus screen but not saved are left out). Does not return the items themselves — use wp_list_menu_items for that. Requires WordPress 5.9+. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based), 100 menus per page. Default: 1. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) |