wp_get_menu_items
Fetch navigation menu items using the menu term ID to access and manage menu contents.
Instructions
Get items for a specific navigation menu
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": {
"menu_id": "<menu_id>"
},
"name": "wp_get_menu_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_id | Yes | Menu term ID |