mcp_get_menu_locations
Retrieve all registered WordPress menu locations and the menu assigned to each, so you can map theme locations to their active menus.
Instructions
Get registered menu locations and the menu assigned to each
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "mcp_get_menu_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) |