Menus: delete
menus_deleteDelete a menu and all its items, including locked built-in items. Cannot be undone; for single items, use menus_remove_item.
Instructions
Delete a menu and all of its items. Removes the menu and every item in it, including locked built-in items, and can't be undone. If it was the role's only menu, that role is left with no dashboard menu; to drop single items, use menus_remove_item instead. It changes or deletes existing data, so check with the user before running it.
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": "menus_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_id | Yes | Menu ID to delete. Find it with menus_list. |