Menu Toolswordpress_list_menu_locations

wordpress_list_menu_locations

List all registered menu locations and the menus assigned to them.

wordpress_list_menu_locations

List all registered menu locations and their assigned menus.

Parameters

This tool takes no parameters.

Example call

No parameter is required, so the smallest valid call is empty:

{
  "name": "wordpress_list_menu_locations",
  "arguments": {}
}

Response

{
  "success": true,
  "locations": [
    {
      "location": "primary",
      "description": "Primary Menu",
      "menu_id": 10
    }
  ]
}

What it changes

Nothing. It only reads, so there is nothing to approve and nothing to undo.

How long it takes

A typical call takes about 1.0 seconds. 19 in 20 finish within 1.7 seconds. Measured on real sites over the last week, so it includes the site's own hosting.

Availability

Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.

Example Prompts

  • "List menu locations"
  • "Which menu is assigned to the primary navigation?"