Review a dinner draft
get_menu_draftReturns the current state of a menu draft: dinner slots and their labels, the offered choices, what is selected and locked, servings and slotIssues. Useful before an edit, after the user has chosen dinners in the widget, or whenever the latest menuDraftId is uncertain. Follows revisions of that exact draft. Unavailable drafts can be recovered through open_saved_week with their exact known savedWeekId; otherwise the user needs to reopen the intended week. Works before sign-in for a draft built before sign-in; once the user links their account, reading the draft attaches it to that account. Drafts are separate from Saved Weeks and This Week.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menuDraftId | No | The draft to read. Omit only when reading by configurationId. | |
| configurationId | No | Set by the weekly chooser widget after a reload: reads the newest draft built from that chooser. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| brief | No | ||
| debug | No | ||
| title | Yes | ||
| appUrl | Yes | ||
| status | Yes | ||
| canUndo | No | ||
| dietary | No | ||
| dinners | Yes | ||
| priority | No | ||
| progress | Yes | ||
| servings | Yes | ||
| diversity | No | ||
| selection | Yes | ||
| navigation | No | ||
| pantryMode | No | ||
| slotIssues | No | ||
| menuDraftId | Yes | ||
| savedWeekId | No | ||
| recipeSource | No | ||
| savedWeekTitle | No | ||
| diversityStatus | No | ||
| savedWeekAppUrl | No | ||
| focusIngredients | No | ||
| selectionWarnings | No | ||
| allowedNextActions | Yes |