wp_get_menu tool reference for StifLi Flex MCP
Read-onlygets a specific menu with its items, by `menu_id` or `menu_location`.
Description
gets a specific menu with its items, by `menu_id` or `menu_location`.
What it is for
- Auditing navigation structure.
- Preparing a reorder.
Example use case
header review.
Sample prompt
Get the menu assigned to the primary location so I can review its current items and order.
Sample response
{
"tool": "wp_get_menu",
"status": "ok",
"items": []
}
What does wp_get_menu do?
gets a specific menu with its items, by `menu_id` or `menu_location`.
Does wp_get_menu 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_menu be used safely?
Limit scope with filters and pagination to reduce overexposure of data.
