Save a menu
save_menuUse this when the user asks to save a restaurant menu to their ChefBear account and you can already read its dishes, for example from a menu photo or text in the conversation. Saves the dishes you pass as a private ChefBear menu at once, without running recognition and without using the user's recognition allowance. Copy each dish name exactly as printed (name), with its price and currency when shown; add English and Chinese names and short descriptions only when you are sure of them. Returns the menuId and a private link to open it in ChefBear. Don't call it unless the user wants the menu saved; use import_menu instead when they want ChefBear itself to recognize the photos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Every dish on the menu, in menu order. | |
| title | Yes | The restaurant's name as shown on the menu, or a short description such as "Thai lunch menu". | |
| language | No | The user's language for this menu: en, zh-Hans, zh-Hant, es, vi, ko or ja. When omitted, ChefBear uses the conversation's language if the app reports one of these, else en. | |
| requestId | Yes | A new unique ID for this save, such as a UUID. Repeating it with the same menu returns the same saved menu instead of saving twice. | |
| restaurantType | No | The kind of restaurant in one or two words, such as thai, sushi or cafe. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| menuId | Yes | ||
| menuUrl | Yes | ||
| dishCount | Yes |