wp_create_menu
Create a classic WordPress menu with optional locations, auto-add settings, and description. Use dry-run mode to preview changes before applying.
Instructions
Create classic menu. Supports dry-run.
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": "wp_create_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | No | ||
| dry_run | No | Preview changes without writing | |
| auto_add | No | ||
| locations | No | ||
| description | No |