bricks_create_menu
Create a new WordPress navigation menu, optionally assign it to theme locations, and get the new menu ID.
Instructions
Create a new WordPress navigation menu. Returns the new menu ID.
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": {
"name": "<name>"
},
"name": "bricks_create_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Menu name (e.g. "Main Navigation", "Footer Menu") | |
| locations | No | Theme locations to assign (e.g. ["primary", "footer"]). Use bricks_get_menus to see available locations. |