wordpress_get_menu_item
Get a single WordPress menu item by ID.
wordpress_get_menu_item
Get a single menu item by ID.
Parameters
1 parameter, 1 required.
| Name | Type | Required | What it is |
|---|---|---|---|
item_id | number | yes | Menu item ID |
Example call
The smallest valid call, with the required parameters only:
{
"name": "wordpress_get_menu_item",
"arguments": {
"item_id": 123
}
}
Response
{
"success": true,
"item": {
"id": 1001,
"title": "Home",
"url": "/",
"parent": 0
}
}
What it changes
Nothing. It only reads, so there is nothing to approve and nothing to undo.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Example Prompts
- "Get menu item 1001"
- "Show details for the menu item that links to /pricing"
Related Tools
Was this page helpful?