mcp-easy-ai__wp_list_menu_items
Lists all items in a WordPress navigation menu (published items; 100 per page by default). Each item includes: type (custom=custom URL, post_type=links to a post/page, taxonomy=links to a term, post_type_archive), type_label (the label wp-admin shows for that type, e.g. "Page", "Custom Link"), title (as displayed, after title filters, tags stripped), title_raw (the item's own title as stored, or for an item without one the linked post's or term's title, before the menu item's display filters and without tag stripping), url, object (post type or taxonomy slug, e.g. "post", "page", "category"), object_id (the ID of the linked post/term for post_type and taxonomy items), menu_order (1-based position), parent (parent item ID, 0 if top-level), target ("_blank" or "" for the same tab), attr_title (the link's title attribute), description, classes (array of CSS classes) and xfn (array of link relationship values). 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). Default: 1. | |
| menu_id | Yes | The ID of the menu to retrieve items from. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| per_page | No | Number of items per page (1–100). Default: 100. |