wp_assign_menu_location
Assign specific menus to theme navigation locations, controlling which menu displays in each area of your site.
Instructions
Assign menus to theme navigation locations
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": {
"locations": "<locations>"
},
"name": "wp_assign_menu_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | Yes | Map of location slug to menu ID |