WordPress: Create menu item
wordpress_create_menu_itemAdd a new item to a WordPress menu, linking to posts, pages, categories, or custom URLs.
Instructions
[UNIFIED] Add a new item to a menu. Supports linking to posts, pages, categories, or custom URLs.
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>",
"menu_id": "<menu_id>",
"title": "<title>",
"type": "<type>"
},
"name": "wordpress_create_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| site | Yes | ||
| type | Yes | ||
| title | Yes | ||
| parent | No | ||
| menu_id | Yes | ||
| object_id | No |