deleteMenu
Permanently delete a menu record by its ID. Remove child menu items first to avoid orphans. Destructive action cannot be undone.
Instructions
Delete a menu - Permanently delete a menu record by ID. Destructive - cannot be undone via API.
Use when: removing a menu container. Child items (menu_items rows with matching menu_id) become orphaned - delete them first.
Required: menu_id.
See also: updateMenu (modify without removing).
Destructive: confirm intent with the user before bulk use. No soft-delete via API - records removed are not recoverable.
Returns: { status: "success", message: "record was deleted" }. No body beyond the confirmation string.
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": "deleteMenu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_id | Yes |